but it seems that the POST does not send the body since my consoles logs:
(node:14148) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): ValidationError: name: Name field is required
any clue why validation fails spite having a name in the body=
Great stuff but get stuck on chapter 9.
Trying to POST in postman to http://localhost:4000/api/ninjas with body:
{ "name": "Ninja" }
but it seems that the POST does not send the body since my consoles logs: (node:14148) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): ValidationError: name: Name field is required
any clue why validation fails spite having a name in the body=