parse body data using express.json code example
Example 1: express json body
$ npm install body-parser
Example 2: express json body
var bodyParser = require('body-parser')
$ npm install body-parser
var bodyParser = require('body-parser')