 <p>You need to use the bodyparser middleware:</p> <pre><code>var bodyParser = require('body-parser'); </code></pre> <p>and then</p> <pre><code>app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: true })); </code></pre>