Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)



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: