Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

body-parser module #32

Open
AbdallahAmmar96 opened this issue Jul 31, 2019 · 0 comments
Open

body-parser module #32

AbdallahAmmar96 opened this issue Jul 31, 2019 · 0 comments

Comments

@AbdallahAmmar96
Copy link

AbdallahAmmar96 commented Jul 31, 2019

const bodyParser = require('body-parser')

I can see that you install the Express 4.17 so you don't have to use

bodyParser.json()
bodyParser.urlencoded()

anymore if you are on the latest release which you are!!.
You can use

express.json()
express.urlencoded()

instead which are built-in.
Check this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant