Created
July 29, 2017 08:43
-
-
Save aofleejay/b7856aad9e71a9ad0f256b15e0ced22c to your computer and use it in GitHub Desktop.
Add body-parser middleware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const bodyParser = require('body-parser') | |
app.use(bodyParser.json()) | |
app.use(bodyParser.urlencoded({ extended: true })) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment