// to read the JSON body you need to use a middleware const bodyParser = require('body-parser') const app = express() app.use(bodyParser.json())
// to read the JSON body you need to use a middleware const bodyParser = require('body-parser') const app = express() app.use(bodyParser.json())