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

[Enhancement] Response status codes #184

Open
TGtarun opened this issue Dec 19, 2020 · 3 comments
Open

[Enhancement] Response status codes #184

TGtarun opened this issue Dec 19, 2020 · 3 comments

Comments

@TGtarun
Copy link
Contributor

TGtarun commented Dec 19, 2020

Actual Behaviour

Only two HTTP status codes 200, 400 are used for every API response.

Expected Behaviour
API response should have a different status code according to the execution of the request because each code help us identify the cause of the problem when a web page or other resource does not load properly.
For Eg -
200 for successful HTTP requests.
201 for the successful creation of a new resource.
400 for bad request.
401 for unauthorized request, etc.

Completed List of Status Codes can be found on https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

@TGtarun
Copy link
Contributor Author

TGtarun commented Dec 20, 2020

I would like to work on this @mrvautin

@wastech
Copy link

wastech commented Apr 7, 2022

i would be very happy if you can assign this to me

@deepak77899
Copy link

is it still open? i would like to work

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

No branches or pull requests

3 participants