Closed this issue 4 years ago · 2 comments
If a bad request is made to /new_use/{bag_id}?..., the status code returned is still 200, but the response is just 400.
/new_use/{bag_id}?...
FastAPI - Handling Errors
Same for deactivating a bag. I need to revisit the documentation from FastAPI to see how to do it properly.
See the example here.
7c0bb8a