How can I read the data received in application/x-www-form-urlencoded format on Node server?
If you are using Express.js as Node.js web application framework, then use ExpressJS body-parser. The sample code will be like this. var bodyParser = require(‘body-parser’); app.use(bodyParser.json()); // support json encoded bodies app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies // With body-parser configured, now create our route. We can grab POST // parameters using req.body.variable_name … Read more