this post was submitted on 02 Aug 2025
153 points (99.4% liked)

Programmer Humor

25395 readers
1873 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
 

API for HTTP Cats

top 7 comments
sorted by: hot top controversial new old
[–] CanadaPlus@lemmy.sdf.org 9 points 2 hours ago (1 children)

Has anybody else noticed that in practice, shit tons of stuff uses a subtly wrong code?

[–] lena@gregtech.eu 2 points 1 hour ago

Yeah, I always make sure to use the relevant code in my projects. I've been using 422 a lot for missing data.

[–] drkt@scribe.disroot.org 30 points 6 hours ago* (last edited 6 hours ago) (1 children)

http cat
look inside
https

[–] staircase@programming.dev 43 points 6 hours ago
[–] AngryCommieKender@lemmy.world 4 points 4 hours ago (2 children)

Why would 418 ever be used?

Also 425, mood.

[–] fubarx@lemmy.world 1 points 1 hour ago* (last edited 1 hour ago)

418: catchall API response when all else fails. Easy to filter in logs.

[–] Dekkia@this.doesnotcut.it 10 points 4 hours ago

418 comes from an April fools' joke published as RFC7168.

I've used it for debugging before because it stands out and is generally suported.