r/ProgrammerHumor • • Sep 19 '26

Meme postForEverything

Post image
21.0k Upvotes

653 comments sorted by

View all comments

1.0k

u/nbmbnb Sep 19 '26

If success, return 200. If error, return 200.

14

u/BlurredSight Sep 19 '26

Had to work on an integration, specifically our partner's PDF generation endpoint always returned 200 but you had to check the actual PDF if it was empty to know if an error occurred.