Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bodyparser

var bodyParser = require('body-parser')

// parse application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({ extended: false }))
 
// parse application/json
app.use(bodyParser.json())
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #bodyparser
ADD COMMENT
Topic
Name
6+6 =