4 ms·
> But GET should have no side-effect I disagree. There are some ways in which GET can be non-idempotent, such as pageview counters and endpoints with a vast am
by eddz 8y ago
> But GET should have no side-effect
I disagree. There are some ways in which GET can be non-idempotent, such as pageview counters and endpoints with a vast amount of constantly-changing content, for instance. One may argue that the first example may be possible with a GET followed by a POST, but any subsequent GET response (assuming it contains the counter) would still be different to its prior.