title: Express js req.body returns empty
body: <p>I've tried the all solutions from some another stackoverflow posts but it didn't solved my issue.</p>
  
  <p>Here is my <code>app.js</code></p>
  
  <pre><code>var express = require('express');
  var path = require('path');
  var favicon = require('serve-favicon');
  var logger = require('morgan');
  var cookieParser = require('cookie-parser');
  var bodyParser = require('body-parser');
  
  
  
  var app = express();
  
  // view engine setup
  app.set('views', path.join(__dirname, 'views'));
  app.set('view engine', 'jade');
  
  // uncomment after placing your favicon in /public
  //app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
  app.use(logger('dev'));
  app.use(bodyParser.urlencoded({ extended: false }));
  app.use(bodyParser.json());
  app.use(cookieParser());
  app.use(express.static(path.join(__dirname, 'public')));
  
  var index = require('./routes/index');
  var v1    = require('./routes/route');
  
  app.use('/', index);
  //routes for api
  app.use('/v1',v1);
  </code></pre>
  
  <p>Here is my <code>post</code> controller</p>
  
  <pre><code>module.exports = {
  
      createUser:function (req,res) {
          console.log(req.body);
          res.send('ok'+req.body.test);
      }
  }
  </code></pre>
  
  <p><code>req.body</code> returns <code>{}</code> even if the request body contains the parameters.</p>
  
  <p>I am checking the api's with postman plugin.</p>
  
  <p><strong>Update</strong></p>
  
  <p>Postman request</p>
  
  <p><a href="https://i.stack.imgur.com/A98f5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/A98f5.png" alt="enter image description here"></a></p>