expressCart icon indicating copy to clipboard operation
expressCart copied to clipboard

[Enhancement] Response status codes

Open TGtarun opened this issue 5 years ago • 4 comments

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 avatar Dec 19 '20 13:12 TGtarun

I would like to work on this @mrvautin

TGtarun avatar Dec 20 '20 08:12 TGtarun

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

wastech avatar Apr 07 '22 11:04 wastech

is it still open? i would like to work

deepak77899 avatar Jan 10 '24 15:01 deepak77899