CSCI-GA-2820-SU24-001 / orders

NYU DevOps Orders Service Summer 2024
Apache License 2.0
1 stars 2 forks source link

Fix API endpoints that do not have RESTful behavior #39

Closed divyanshusharma1709 closed 1 month ago

divyanshusharma1709 commented 2 months ago

Describe the bug POST /orders with a bad data caused a 500_INTERNAL_SERVER_ERROR instead of 400_BAD_REQUEST

Expected behavior POST /orders with a bad data caused a 500_INTERNAL_SERVER_ERROR instead of 400_BAD_REQUEST