title: node.js express server route params: using postman only add the colons before the specific id, it direct to main route "/properties" , if not 404
body: <p>when I use postman to test my backend api, as i was trying to get a specific id, only when I put the colons before the id, the route direct to "/properties".when add the id right after the /, there come out the 404 error. But I already put the colons in the route, which I think is the right way to claim a param as the express doc says. I don't know why the app cant find the right route, and where the problem might be.</p>
  
  <p><a href="https://i.stack.imgur.com/erNgI.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/erNgI.jpg" alt="enter image description here"></a></p>
  
  <pre><code>propertyRouter.route('/:id')
  .get(function (req, res, next) {
      Property.findById(req.params.id)
          .exec(function (err, property) {
          if (err) throw err;
          });
          res.json(property);
      });
  })
  </code></pre>
  
  <p>(<a href="https://i.stack.imgur.com/kyIrS.jpg" rel="nofollow noreferrer">Source</a>)</p>