Hacker News new | past | comments | ask | show | jobs | submit login

Google cache, as the site is having trouble for me at the moment:

http://webcache.googleusercontent.com/search?q=cache:_QnG_r4...




Obviously GET is not idempotent because as we see, the state can change if called repeatedly /s


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

[2] https://developer.mozilla.org/en-US/docs/Glossary/Safe/HTTP




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: