Can't get POST data using NodeJS/ExpressJS and Postman : <p>This is the code of my server :</p>

<pre><code>var express = require('express');
var bodyParser = require("body-parser");
var app = express();
app.use(bodyParser.json());

app.post("/", function(req, res) {
    res.send(req.body);
});

app.listen(3000, function () {
    console.log('Example app listening on port 3000!');
});
</code></pre>

<p>From Postman, I launch a POST request to <a href="http://localhost:3000/" rel="noreferrer">http://localhost:3000/</a> and in Body/form-data I have a key "foo" and value "bar".</p>

<p>However I keep getting an empty object in the response. The <code>req.body</code> property is always empty.</p>

<p>Did I miss something?<a href="https://i.stack.imgur.com/1CJX4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1CJX4.png" alt="enter image description here"></a></p>
