mrvautin / expressCart

A fully functioning Node.js shopping cart with Stripe, PayPal, Authorize.net, PayWay, Blockonomics, Adyen, Zip and Instore payments.
https://expresscart-demo.markmoffat.com
MIT License
2.26k stars 875 forks source link

[Enhancement] Response status codes #184

Open TGtarun opened 3 years ago

TGtarun commented 3 years ago

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 commented 3 years ago

I would like to work on this @mrvautin

wastech commented 2 years ago

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

deepak77899 commented 10 months ago

is it still open? i would like to work