Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

why is my req.body empty

Make sure your middleware is ordered properly, and if you're using Postman 
setting the "Content-Type" header to "application/json" might help.
 
PREVIOUS NEXT
Tagged: #empty
ADD COMMENT
Topic
Name
4+1 =