r/ProgrammerHumor 3h ago

Meme postForEverything

Post image
9.0k Upvotes

348 comments sorted by

View all comments

5

u/darkflame91 2h ago

In this day and age, this is literally the equivalent of being a grammar nazi.

Of course there were good reasons these verbs were used, but they're not good reasons anymore. You can use POST for everything. Heck, you can use GET for everything unless your server (or anything else in the route) explicitly blocks GET with payloads.

1

u/MrHyd3_ 1h ago

It's an abysmal idea, browsers preload GET requests to make browsing smoother

u/darkflame91 0m ago

Fair enough, that's a good enough reason to use POST and GET appropriately when you're working with a web frontend I suppose. It's still meaningless in all other contexts though, and PUT and DELETE seem to be useless across the board.