12
gitpush
7y

That moment when returning correct HTTP status codes from an API become a feature request 😒

For the meantime I will need to deal with endpoints returning status 200 for everything, and status 500 when the service crash. 🤦🏼‍♂️

Comments
  • 1
    *sends http.cat*
  • 1
    Yeah, all those APIs returning 200 with a "status" key on the JSON with the real status... Annoying...
  • 1
    Many of our apis return json with a "successful" boolean property... Drives me batty.
  • 1
    Requested the same last week,
    Make request, get a 200 response and a body which has changed how you wanted.
    Making a get request and see it hasn't changed....
Add Comment