simple-bodyparser
Gets the whole content in the request body as a property to request object
Install
$ npm install simple-bodyparser
API
const bodyparser = ;
bodyparser(options)
This middleware adds a req.body
property which contains the request body with encoding defaulting to UTF-8
Options
encoding
property sets the encoding type, defaulting to UTF-8.
Example
const bodyparser = ;const app = ; app;app;