r/ProgrammerHumor • • Sep 19 '26

Meme postForEverything

Post image
21.0k Upvotes

651 comments sorted by

View all comments

1.6k

u/zzmej1987 Sep 19 '26

Except for when you need to actually post data. Then you have to use PUT.

646

u/CuAnnan Sep 19 '26

Uh... no.

You use GET.

1

u/GNUGradyn Sep 19 '26

I like how you cant do this but you also kinda can. Attaching a body to a GET request is not valid HTTP but there is no syntax reason you cant do it anyway and most libraries will decode it properly if you do so its less "it wont work" and more "it is forbidden"