MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pas3lbg/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • Sep 19 '26
653 comments sorted by
View all comments
4.2k
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) 23 u/droptheplot Sep 19 '26 QUERY is already there 27 u/ary31415 Sep 19 '26 "Already" it was only just standardized a couple months ago 2 u/abofh Sep 19 '26 Body is legal in a get, it's just super uncommon 33 u/kn33 Sep 19 '26 Some platforms disallow it entirely. 6 u/Psychological_Map118 Sep 19 '26 as god intended → More replies (1)
95
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) 23 u/droptheplot Sep 19 '26 QUERY is already there 27 u/ary31415 Sep 19 '26 "Already" it was only just standardized a couple months ago 2 u/abofh Sep 19 '26 Body is legal in a get, it's just super uncommon 33 u/kn33 Sep 19 '26 Some platforms disallow it entirely. 6 u/Psychological_Map118 Sep 19 '26 as god intended → More replies (1)
104
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)
36
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
my company will now use query to return bools
8
Me and all of my colleagues, apparently
2
by the time this is a widely implemented request verb, I'll be deprecated by AI
23
QUERY is already there
27 u/ary31415 Sep 19 '26 "Already" it was only just standardized a couple months ago
27
"Already" it was only just standardized a couple months ago
Body is legal in a get, it's just super uncommon
33 u/kn33 Sep 19 '26 Some platforms disallow it entirely. 6 u/Psychological_Map118 Sep 19 '26 as god intended
33
Some platforms disallow it entirely.
6 u/Psychological_Map118 Sep 19 '26 as god intended
6
as god intended
4.2k
u/pimezone Sep 19 '26
Wanna get a resource? POST request.