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

DELETE is idempotent to quote a Stack Overflow answer on the subject:

> Idempotence refers to the state of the system after the request has completed

> ...

> The key bit there is the side-effects of N > 0 identical requests is the same as for a single request.

http://stackoverflow.com/questions/4088350/is-rest-delete-re...



The example I gave is idempotent. Calling it n >0 times would result in the same side effects.


That's not what idempotent means. It doesn't mean it produces the same side effects every time, it means multiple calls are equivalent to a single call.


Gah! You're right. In that case POST would be the only acceptable option here.




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

Search: