Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API - Wrong status code is return when invalid body in post request #1945

Open
mikaelparkefelt opened this issue Apr 17, 2024 · 0 comments
Open

Comments

@mikaelparkefelt
Copy link

https://www.semui.co/api-docs/#/project/post_project__project_id__keys returns a 204 when it has a body that is not a valid JSON.

I should return 400 Bad Request and a error message of what is wrong.

@mikaelparkefelt mikaelparkefelt changed the title API - Wrong status code is return when invalid boy in post request API - Wrong status code is return when invalid body in post request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant