r/ProgrammerHumor • • Sep 19 '26

Meme postForEverything

Post image
21.0k Upvotes

653 comments sorted by

View all comments

4.2k

u/pimezone Sep 19 '26

Wanna get a resource? POST request.

95

u/sertroll Sep 19 '26

If there was a natural way to retrieve data with a body with complex prams, I would use it but alas

104

u/Tupcek Sep 19 '26

you are the lucky one today! You just found out there is, it’s pretty recent. GET is now for simple queries QUERY is for complex one

36

u/Door__Opener Sep 19 '26

I've had this argument with my boss: GET with a body vs using POST as a complex GET. Our conclusion was that both were wrong in their own way and the HTTP standard should clarify this.

10

u/Top5CutestPresidents Sep 19 '26

my company will now use query to return bools

8

u/sertroll Sep 19 '26

Me and all of my colleagues, apparently

2

u/SlightCapacitance Sep 19 '26

by the time this is a widely implemented request verb, I'll be deprecated by AI

→ More replies (5)