3 ms·
POST isn't required to be idempotent, but to be clear it's not improper to make an API with idempotent POST endpoints.
by AgentME 7y ago
POST isn't required to be idempotent, but to be clear it's not improper to make an API with idempotent POST endpoints.
- Glyptodon 7y agoWhich is exactly why it's a fairly unusual choice for an example.
- AgentME 7y agoIt would be weird if he used a method like GET which is normally idempotent. People already make those be idempotent, so they would miss that the point is that a good API has all idempotent endpoints, POST and not.