title: Param in Post Request
body: <p>I need help in my code because I can't get the param in POST request.</p>
  
  <p><strong>Requiring route in my Entry point</strong></p>
  
  <pre><code>var messageRoutes = require("./routes/message");
  
  app.use("/rooms/:id/messages", messageRoutes);
  </code></pre>
  
  <p><strong>POST Route</strong></p>
  
  <pre><code>router.post("/", function(req, res) {
      console.log(req.params);
  });
  </code></pre>
  
  <blockquote>
    <p>But if I do it like this, I can get the params.</p>
  </blockquote>
  
  <p><strong>Entry point</strong></p>
  
  <pre><code>app.use(require("./routes/message"));
  </code></pre>
  
  <p><strong>POST Route</strong></p>
  
  <pre><code>router.post("/rooms/:id/messages", function(req, res) {
      console.log(req.params);
  });
  </code></pre>
  
  <blockquote>
    <p>So why is that?</p>
  </blockquote>