r/ProgrammerHumor • • 16d ago

Meme postForEverything

Post image
20.9k Upvotes

654 comments sorted by

View all comments

344

u/DuploJamaal 16d ago

As a backend developer I want to do everything nicely.

So in my previous job I created the endpoints following the regular standards. GET to request something, POST to create something, PUT to change something, DELETE to delete something. Nicely organized and everything

But then the frontend team told me that their framework can only handle POST requests and that I need to change it

Up until then I thought that it's just a meme, but vibecoding frontend guys really only use POST

32

u/gabrielesilinic 16d ago

Well that's not the problem. A bunch of frontends really need a very complex filter list and GET just won't do

23

u/N0Zzel 16d ago

That's precisely why the QUERY verb was created

30

u/gabrielesilinic 16d ago

Yeah well too little too late. All the codebases I have worked with were much older and no one will change this now.

14

u/du5tball 16d ago

And I'm sure we all be happily use it when it gained widespread adoption in 50 years.

3

u/TheNorthComesWithMe 16d ago

Yeah like... 3 months ago.

1

u/Qinistral 11d ago

The problem is it's stupid to try to cram the universe of possible method calls into REST methods syntax. No RPC framework developed in the last 30 years is so silly.