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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #empty
ADD COMMENT
Topic
Name
7+2 =