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
Coding Bootcamp LFZ > express-post-json > Flashcards
What does the express.json() middleware do and when would you need it?
It parses the incoming requests with JSON payloads. It is needed when your app needs to know how to parse JSON request bodies
Coding Bootcamp LFZ (94 decks)