Skip to content

Handling other 400 errors as JSON

Choose a tag to compare

@matheusgalvao1 matheusgalvao1 released this 03 Mar 14:31
· 7 commits to main since this release
cc288e2

For some endpoints when receiving requests with a wrong format, Flask was returning a 400 response in HTML. This version handles those cases returning a JSON.