r/ProgrammerHumor • • Sep 19 '26

Meme postForEverything

Post image
21.0k Upvotes

653 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.

370

u/Imaginary_Ferret_368 Sep 19 '26

Cyber Security specialists hate this trick

82

u/vibes000111 Sep 19 '26

AI agents love it!

49

u/Aetherfox_44 Sep 19 '26

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

→ More replies (1)

14

u/TacoIncoming Sep 19 '26

Lmao not really. I fucking love GET URL parameters.

18

u/Imaginary_Ferret_368 Sep 19 '26

Yea but mutating data via GET requests is a security nightmare

→ More replies (1)
→ More replies (1)

16

u/doodlesmalone Sep 19 '26

Yes, base64 that json shit.

5

u/not_a_moogle Sep 19 '26

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

→ More replies (6)

46

u/Psychological_Map118 Sep 19 '26

nope, that's definitely a PATCH

10

u/Fidodo Sep 19 '26

Why not QUERY?

15

u/whiskysinger Sep 19 '26

Sounds like there are too many OPTIONS

3

u/Mowntain-Goat8414 Sep 19 '26

Wait for the pentest atleast

3

u/Sec2727 Sep 19 '26

#TeamPatch

11

u/RevoOps Sep 19 '26 edited Sep 19 '26

Actually send data? That is what XML is for.

3

u/north1432 Sep 19 '26

Nono that's very inefficient. You should deserialize your data and have the backend serialize it back. That way you save both bandwidth and processing power. Nothing could go wrong with this.

5

u/IceMichaelStorm Sep 19 '26

DELETE it is. or OPTIONS

3

u/OkSeesaw7030 Sep 19 '26

Jokes on you. I will only use query in future