title: Can I use 2 different functions on the same route? Node.js
body: <p>I have 2 different methods that I want to be called when a specific form is filled. I know that I can't have a form with 2 actions so I am just wondering can I call 2 different methods on the same route in Node.js? </p>
  
  <p>I need something like this</p>
  
  <pre><code>router.post('/webmark/addcollection', webmarks.addCollection);
  router.post('/webmark/addcollection', webmarks.uploadPicture);
  </code></pre>
  
  <p>so basically when the button in the form is pressed, the action would redirect to the specific route and the 2 methods would be called.</p>