project_mern_memories icon indicating copy to clipboard operation
project_mern_memories copied to clipboard

Fixing bodyParser Deprecation.

Open bradleymubenga777 opened this issue 3 years ago • 5 comments

For newer versions of Express.js bodyParser is deprecated, instead we use express.json() & express.urlencoded()

bradleymubenga777 avatar Apr 12 '21 11:04 bradleymubenga777

Thanks

For newer versions of Express.js bodyParser is deprecated, instead we use express.json() & express.urlencoded()

Thanks :)

hanancs avatar Apr 13 '21 06:04 hanancs

@HananCS No worries, it's a pleasure. We're in this together!

bradleymubenga777 avatar Apr 20 '21 21:04 bradleymubenga777

For newer versions of Express.js bodyParser is deprecated, instead we use express.json() & express.urlencoded()

Thanks you :) I think it was the bug of vs code until i saw this PR.

Ligengxin96 avatar Jun 23 '21 14:06 Ligengxin96

This has been changed sin Part 4 branch. Was it mentioned on the part 4 video? I'm unsure.

alejandro-alcaide avatar Jun 25 '21 15:06 alejandro-alcaide

I am trying to debbug the code for 2 hours and this was the solution. Thanks for sharing.

orcunturkol avatar Oct 21 '21 12:10 orcunturkol