4 ms·
I think it's more of a terminology thing, rather than 'GET me a card' you could 'POST remove 2 cards from the deck' and the side effect is the response tells yo
by ryan-allen 11y ago
I think it's more of a terminology thing, rather than 'GET me a card' you could 'POST remove 2 cards from the deck' and the side effect is the response tells you which cards were deleted.
But this kind of bike shedding drives me mad because oh my lord who gives a crap just build software and document it properly.
- wetmore 11y agoIt's not necessarily bike shedding though. GET and POST have two different, widely-agreed upon semantic meanings. It's not just terminology.
- Confusion 11y agoI give a crap, because when I see an API, I expect a GET to be idempotent. If a coworker implemented this, there would be words.
- whyaduck 11y agoSame here. Working on a large codebase where people "just build software and document it properly" without following standards is not fun. Not to mention that frequently people end up shortening that to "just build software". It's better to get in the habit of following good standards even on small projects before bad habits form.