I’m using adonis as API.
I’ve implemented Validation on Routes before and I wanted to try it out for the first time with POSTMAN on Chrome.
I’m using JWT auth and I put the Authorization Bearer token on the header of the call. I works well and I could stored new records.
The problem I have is when I put the Route validation in the route, for example:
Adonis sends me an 200 ok response with
“greeting”: “Hello world in JSON”
This happens only when the validation fails and I post via Postman.
why I don’t get the validation failure massage?