$ curl -X POST 'http://localhost:3011/pets' -H 'Content-Type: application/json; charset=utf-8' -d '{"name": "max","tag": "dog"}'
{"error":{"statusCode":400,"message":"Request has one or more errors"}}%
on my server app:
[ EnforcerException: Request has one or more errors
Body is not allowed ]
I am using the requestBody property so I can't see where my error is.
This path
is giving me this error.
on my server app:
I am using the
requestBody
property so I can't see where my error is.