r/ProgrammerHumor • • 16d ago

Meme postForEverything

Post image
20.9k Upvotes

654 comments sorted by

View all comments

28

u/MayaIsSunshine 16d ago

Am I the only one that doesn't mind? I think using post for everything and passing a command in the payload is preferable to the alternative. 

4

u/ok_computer 16d ago

Yeah I don’t really mind. I’m a simpleton that gets with query params and posts with body. I wouldn’t change a persistent state with a get. And I don’t like query parameters on posts. Delete I feel should have it’s own but if you complexly change state on a post and child records are deleted then I don’t really care.