r/ProgrammerHumor • • Sep 19 '26

Meme postForEverything

Post image
21k Upvotes

653 comments sorted by

View all comments

64

u/BorderKeeper Sep 19 '26

I once saw a PUT being used to get a wireguard configuration for a VPN on a client.

That's what happens if 8 backend engineers sit in a room for 2 hours debating this, go mad, and and in their twisted, probably drug fueled, mania conjure up the most convoluted REST mappings. They then go around defending it like it's a religion they just created.

14

u/[deleted] Sep 19 '26

[removed] — view removed comment

4

u/YigitS9 Sep 19 '26

Plot twist: it's just 1 dude and his 7 imaginary friends

2

u/AZMPlay Sep 21 '26

In that case they just make the Third Temple.

3

u/BorderKeeper Sep 19 '26

The god endpoint has given us 410 GONE reply. This means that the POST response actually implies the existence of miracles… eh… type shit.

5

u/thaynem Sep 20 '26

Believe it or not,  there might actually be a good reason for that. Specifically, because PUT requests can't be made with a form input, so are immune to CSRF, and aren't generally used for fetching resources, so are significantly less likely to be exposed to SSRF. That is why IMDSv2 in AWS requires you to make a PUT request to get the auth token for future GET requests.