this post was submitted on 22 Mar 2025
752 points (98.8% liked)

Programmer Humor

22780 readers
554 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 month ago (2 children)

Why not POST /to/the/api?withCorrectErrorCodes?

[–] [email protected] 5 points 1 month ago

There was nothing RESTful or well planned about this API's interfaces, and the work to do something like that would have been nontrivial. Management never prioritized the work.

[–] [email protected] 2 points 1 month ago

Assuming there was some API key system in place, could just check on the key to see if it belongs to one of those clients. If yes, 200. Else, real APIs.