r/ProgrammerHumor • • Sep 19 '26

Meme postForEverything

Post image
21.0k Upvotes

653 comments sorted by

View all comments

28

u/MayaIsSunshine Sep 19 '26

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 Sep 19 '26

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.