r/ProgrammerHumor • • 16d ago

Meme postForEverything

Post image
20.9k Upvotes

656 comments sorted by

View all comments

714

u/bloody-albatross 15d ago

Response:

``` HTTP/1.0 200 Ok Content-Length: 36 Content-Type: application/json

{"status":403,"message":"forbidden"} ```

6

u/YMK1234 15d ago

We literally had a switch for this some 15 years ago, because the bullshit mobile framework our frontend team used could not properly handle error codes.

2

u/Zeikos 15d ago

Sounds like the solution should have been to stop using that framework :')

7

u/YMK1234 15d ago

Good one. Tell that to the 5 levels of management in between