Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
elcomet
on April 8, 2021
|
parent
|
context
|
favorite
| on:
Idempotence now prevents pain later
Get is idempotent because it's the identity function. It does not change the state of the data. So it's a trivial case of idempotency.
A more interesting function is PUT (idempotent) vs POST (not idempotent)
Animats
on April 8, 2021
[–]
GET is
supposed
to be idempotent. But there are sites and APIs where URL parameters make something happen on a GET.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
A more interesting function is PUT (idempotent) vs POST (not idempotent)