Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to access POST form fields in Express

var bodyParser = require('body-parser')
app.use( bodyParser.json() );       // to support JSON-encoded bodies
app.use(bodyParser.urlencoded({     // to support URL-encoded bodies
  extended: true
}));
 
PREVIOUS NEXT
Tagged: #How #access #POST #form #fields #Express
ADD COMMENT
Topic
Name
3+9 =