3 ms·
GET must be safe and idempodent. In the context of http, idempodency basically means that you get the same result for each request with the same url and the sam
by thomasz 8y ago
GET must be safe and idempodent. In the context of http, idempodency basically means that you get the same result for each request with the same url and the same set of parameters.
Toggle should be implemented as post, since it’s neither safe, nor idempodent.
- rusk 8y agoyes
- mpweiher 8y ago> get the same result for each request with the same url and the same set of parameters. I think the resource can change externally...so it means that your GET request doesn't change it, but it doesn't have to be the same result every time.
- dalore 8y agoNo not the same result. How would the front page of any news site work then?