Skip to content

Instantly share code, notes, and snippets.

@jesuscast
Created December 1, 2017 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesuscast/89a271cb99a315e525a0b02c87addc2a to your computer and use it in GitHub Desktop.
Save jesuscast/89a271cb99a315e525a0b02c87addc2a to your computer and use it in GitHub Desktop.
var express = require('express')
var bodyParser = require('body-parser')
var app = express()
// parse application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({ extended: false }))
// parse application/json
app.use(bodyParser.json())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment