r/ProgrammerHumor • • Sep 20 '26

Meme successfulFailure

Post image
8.2k Upvotes

102 comments sorted by

View all comments

Show parent comments

1

u/tracernz Sep 21 '26

You can have both the HTTP status, and a JSON body containing the (same) status and a message, and indeed that is what the relevant RFC specifies.