Answers for "req.body is undefined using postman in node js"

11

req.body is undefined

var bodyParser = require('body-parser')
var app = express()

// parse application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({ extended: false }))

// parse application/json
app.use(bodyParser.json())
Posted by: Guest on February-21-2020

Code answers related to "req.body is undefined using postman in node js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language