trebol-ecommerce / api

eCommerce web service REST specification
GNU General Public License v3.0
0 stars 0 forks source link

Use 204 No Content status where applicable #28

Open bglamadrid opened 2 years ago

bglamadrid commented 2 years ago

I have been reading a little about status codes again. I had forgotten the 204 No Content code exists. Currently a lot of PUT and DELETE requests are currently returning an empty 200 OK response. The former should be used instead of that.

Originally posted by @bglamadrid in https://github.com/trebol-ecommerce/trebol-api/issues/16#issuecomment-915717224