semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

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

Open mikaelparkefelt opened this issue 10 months ago • 0 comments

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 avatar Apr 17 '24 13:04 mikaelparkefelt