title: Express route parameters
body: <p>I'm new to Node.js and Express and I'm wondering the if the following code is correct:</p>
  
  <pre><code>router.get('students/:name', async (req, res) =&gt; {
      const students = await Student.find(req.params.name);
      res.send(students);
  });
  
  router.get('students/:age', async (req, res) =&gt; {
      const students = await Student.find(req.params.age);
      res.send(students);
  });
  </code></pre>
  
  <p>So how can Express figure out which route to use one passing only one parameter? For example, when I call <code>localhost:3000/students/20</code>, what if some students are 20 years old and some students have the name of "20"?</p>