Search posts, tags, users, and pages
Catalin Pit
Nice introduction to Node! 🔥
However, do you still need the bodyParser package? Afaik, Express implemented the functionality of Body Parser. Now, you can now use it as follows:
bodyParser
app.use(express.json())
Full Stack Falcon
Thanks, Catalin. Really appreciate it!
You are correct, in Express version 4.16 the body-parser was built in. I always auto-install body-parser out of old habits, so it is nice to learn I don't have to :)
I will update the example in the article.
No worries, Full Stack Falcon! Same here. It took a while to get rid of this habit.