express-post-json Flashcards
1
Q
What does the express.json() middleware do and when would you need it?
A
It parses incoming request Object as a JSON object.
And you can use it when access the request body and it is in a json string format.