title: Can't POST (and parse) params to app.post() in express.js
body: <p>I checked this <a href="https://stackoverflow.com/questions/4295782/how-do-you-extract-post-data-in-node-js">question</a> but for some reasons the solution given is not working for me. In my express.js I have:</p>
  
  <pre><code>...
  
  bodyParser = require('body-parser')
  app.use(bodyParser.urlencoded({
     extended: true
  }));
  app.use(bodyParser.json());
  ...
  </code></pre>
  
  <p>Run test using POSTman</p>
  
  <p><img src="https://i.stack.imgur.com/8ZwUk.png" alt="enter image description here"></p>
  
  <pre><code>app.post('/upload', function(req, res) {
     console.log(req.body) // undefined
     console.log(req.params) // undefined
  })
  </code></pre>
  
  <p>and the result:</p>
  
  <p><img src="https://i.stack.imgur.com/N3xWR.png" alt="enter image description here"></p>
  
  <p>So both body &amp; params are empty. Any suggestions?</p>