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 deprecated past on versions of Express > 4.16 #39

Open
xScoopy opened this issue Apr 12, 2021 · 1 comment
Open

Body Parser deprecated past on versions of Express > 4.16 #39

xScoopy opened this issue Apr 12, 2021 · 1 comment

Comments

@xScoopy
Copy link

xScoopy commented Apr 12, 2021

Installation and instantiation of 'body parser' shows deprecated status within the IDE. information gathered from
stackOverflow
shows that instead of pulling in body parser, we can simply use the following:
app.use(express.urlencoded({ extended: true }));
app.use(express.json());

@starlightromero
Copy link
Contributor

Good catch @xScoopy! I just implemented this into the update. It will not be pushed to GH until the end of the term in a few weeks but do know that I am working on updates.

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

2 participants