|
|
|
|
|
by avmich
2556 days ago
|
|
> GET request is meant to be side-effect free Meant, yes, by somebody, but a web service creator can decide otherwise, for some reasons, like simplicity. If I remember correctly, there was a good story about Viaweb, how they figured that sending requests to follow links can be used as commands - and I wasn't sure they didn't use GET for that... but maybe I'm wrong. |
|
Simply introducing unexpected side effects, you mean? Using methods in ways they're not meant to be used doesn't create simplicity, it creates complexity. Suddenly there are exceptions to the standards that you need to remember and take into account. This story demonstrates that very well.
Laziness is not the same thing as simplicity.