this post was submitted on 03 Sep 2024
852 points (99.4% liked)

Programmer Humor

32727 readers
75 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] whoisearth@lemmy.ca 8 points 3 months ago

When I write APIs I like to set endpoints to return all status codes this way no matter what you're doing you can always be confident you're getting the expected status code.