229
REST my ass 💩 (eviltoast.org)
you are viewing a single comment's thread
view the rest of the comments
[-] ryannathans@aussie.zone 0 points 3 weeks ago

It's often valid to serve a 200 OK with an error in the application data.

[-] CommanderCloon@lemmy.ml 2 points 3 weeks ago
[-] ryannathans@aussie.zone 1 points 2 weeks ago* (last edited 2 weeks ago)

Successful web request, web server functioning fine, application functioning fine, but the application needs to tell the user they have done something wrong in-app.

In my world for example there's a piece of third party hardware I need to take a bunch of data from and deliver it to the user. One part of that data is telling the user there's an error and they need to perform an IRL interaction with it to fix something, but the rest of the data and images in the payload are good

[-] TomasEkeli@programming.dev 2 points 2 weeks ago

Valid, but dumb.

this post was submitted on 14 Sep 2025
229 points (98.3% liked)

Programmer Humor

26722 readers
205 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS