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

Ensure Consistent HTTP Status Codes for Non-Existent Resources etc #1356

Open
Matte22 opened this issue Aug 29, 2024 · 1 comment
Open

Ensure Consistent HTTP Status Codes for Non-Existent Resources etc #1356

Matte22 opened this issue Aug 29, 2024 · 1 comment

Comments

@Matte22
Copy link
Collaborator

Matte22 commented Aug 29, 2024

API needs to ensure that API endpoints follow consistent and appropriate HTTP status codes for various scenarios, especially when dealing with resources that do not exist. Specifically, we want to avoid situations where an endpoint returns a 200 OK status for a user or other resource that doesn’t exist. Instead, such cases should return a 404 Not Found status code.

That is only one example scenario, but I am sure there could be others.

@Matte22
Copy link
Collaborator Author

Matte22 commented Sep 18, 2024

see: updateUser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant