title: Getting req.param undefined
body: <p>I am using Expressjs version 4.I am getting 'undefined' on req.param. Here is my example  :
  app.js</p>
  
  <pre><code>var express = require('express');
  var bodyParser = require('body-parser');
  var newdata = require('./routes/new');
  ........................
  ......................
  app.use(bodyParser());
  app.use(bodyParser.json());
  app.use(bodyParser.urlencoded());
  
  app.use('/new', newdata);
  </code></pre>
  
  <p>./routes/new</p>
  
  <pre><code>var express = require('express');
  var router = express.Router();
  
  router.get('/', function(req, res){
      res.render('newdata', {
          title: 'Add new data'
      })
  });
  
  router.post('/', function(req, res){
      console.log(req.param['email']);
      res.end();
  });
  
  module.exports = router;
  </code></pre>
  
  <p>newdata.html</p>
  
  <pre><code>&lt;form action="/new" role="form" method="POST"&gt;
              &lt;div class="form-group"&gt;
                  &lt;label for="exampleInputEmail1"&gt;Email address&lt;/label&gt;
                  &lt;input type="email" class="form-control" name="email" placeholder="Enter email"&gt;
  </code></pre>
  
  <p>I also tried with <code>req.body</code> and <code>req.params</code> , but the answer is still same.</p>