bodyparser' is deprecated. nodejs code example Example: body-parser deprecated app.use(bodyParser.urlencoded()); app.use(bodyParser.json());