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

DeleteVideoStream endpoint returns 200 ok for nonexistent IDs. #17

Open
scott97 opened this issue Jun 14, 2023 · 0 comments
Open

DeleteVideoStream endpoint returns 200 ok for nonexistent IDs. #17

scott97 opened this issue Jun 14, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@scott97
Copy link
Collaborator

scott97 commented Jun 14, 2023

The API is returning a 200 status code for requests to delete video streams with an ID that is not found in the datastore. We should expect a status code of 404 (not found).

Request

DELETE http://localhost:3000/api/v1/videostreams/123456789 HTTP/1.1

Response

HTTP/1.1 200 OK
Date: Wed, 14 Jun 2023 01:57:07 GMT
Content-Length: 0
Connection: close
@scott97 scott97 added the bug Something isn't working label Jun 14, 2023
@scott97 scott97 self-assigned this Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant