Timeline for Why do so many standards for JSON API response formats contain a "success" property in the response body instead of just using HTTP status codes?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 23, 2022 at 20:06 | comment | added | Izkata | Opposite but related: I don't know if it's still like this, but at least at one time apache would completely remove the response body if it got specific error codes from the backend. So when our json responses relied on http status codes, it worked totally fine in development with django runserver, but was broken in production behind apache. | |
| S Mar 23, 2022 at 13:16 | review | First answers | |||
| Mar 23, 2022 at 13:20 | |||||
| S Mar 23, 2022 at 13:16 | history | answered | Paul Bissex | CC BY-SA 4.0 |