express-post-json Flashcards
(1 cards)
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