title: How can i distunguish two get routes with same parameters?
body: <p>I have two routes.</p>
  <pre><code>app.get('/api/v1/bucket/:bucket_name', (req, res) =&gt; {
  
    queries.getAllFilesFromSpecificBucket(req.params.bucket_name).then(data =&gt; {
      res.json(data);
    });
  })
  
  app.get('/api/v1/bucket/:file_name', (req, res) =&gt; {
    queries.getSpecificFileByName(req.params.file_name).then(data =&gt; {
      res.json(data);
    });
  })
  </code></pre>
  <p>The path by the two of them is same api/v1/bucket/ except the parameter name.Here my problem is that when i try go get the route with file_name parameter,always gets called the first route with the bucket_name parameter.
  Please help</p>