Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bodyparser
ADD COMMENT
Topic
Name
4+1 =