express-post-json Flashcards

1
Q

What does the express.json() middleware do and when would you need it?

A

It parses the incoming requests with JSON payloads. It is needed when your app needs to know how to parse JSON request bodies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly