-
I created a post route like that: Route.post('Test', 'TestController.SendA') And for some reason the route is not working, just return '204 no content' when trying to use insomnia or postman. Here my controller: async SendA({ request, response }) {
return response.send('A');
} |
Beta Was this translation helpful? Give feedback.
Answered by
zLupa
Sep 11, 2020
Replies: 1 comment
-
Solved, i needed to add csrfField |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zLupa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved, i needed to add csrfField