2 ms·
Obviously GET is not idempotent because as we see, the state can change if called repeatedly /s
by pcthrowaway 5y ago
Obviously GET is not idempotent because as we see, the state can change if called repeatedly /s
- nivertech 5y agoGET supposed to be nullipotent[1] and safe[2]. It can also be implemented as a pure function without side-effects if you provide current time as a query parameter. Reliable communication over the network and availability issues are different concerns. Though request idempotency can help with retries for command/mutations. Queries are usually nullipotent, so they're can be simply retried. -- [1] https://en.wiktionary.org/wiki/nullipotent https://en.wiktionary.org/wiki/nullipotent [2] https://developer.mozilla.org/en-US/docs/Glossary/Safe/HTTP https://developer.mozilla.org/en-US/docs/Glossary/Safe/HTTP