In my node app, I am using express. all works fine, But i am getting error in the cmd. I use all are updated modules...
my code :
As from Express version 4.16.0, you're expected to pass in extended property inside the bodyParser.urlencoded()
// parse JSON-encoded bodies and URL-encoded bodies
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
See npm.js documentation page for sample: https://www.npmjs.com/package/body-parser#expressconnect-top-level-generic