3 ms·
GET 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 parame
by nivertech 5y ago
GET 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