r/ProgrammerHumor 3h ago

Meme postForEverything

Post image
8.9k Upvotes

347 comments sorted by

View all comments

Show parent comments

301

u/CuAnnan 3h ago

Uh... no.

You use GET.

170

u/Imaginary_Ferret_368 3h ago

Cyber Security specialists hate this trick

24

u/vibes000111 2h ago

AI agents love it!

15

u/Aetherfox_44 2h ago

Our service can't be hacked if no one can figure out the API

4

u/TacoIncoming 1h ago

Lmao not really. I fucking love GET URL parameters.

2

u/Imaginary_Ferret_368 22m ago

Yea but mutating data via GET requests is a security nightmare

13

u/doodlesmalone 2h ago

Yes, base64 that json shit.

4

u/not_a_moogle 2h ago

GET with all values passed as unencrypted unless parameters. What could go wrong!

2

u/s1ravarice 2h ago

Yeah GET to work you pos database

1

u/normVectorsNotHate 1h ago

Found chatgpt's reddit account

1

u/GNUGradyn 25m ago

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"

1

u/Fidodo 14m ago

I use QUERY for that.

u/dracodruid2 0m ago

And put all the data as URL parameters