2 ms·
If you make an analogy, and then the analogy breaks, I'm not sure that shows the flaw is in the original concept. A RESTful architecture needs an Uniform Inter
by icebraining 8y ago
If you make an analogy, and then the analogy breaks, I'm not sure that shows the flaw is in the original concept.
A RESTful architecture needs an Uniform Interface, yes, but their it's doesn't have to be an "action" or anything specific. POST has a definition, and everyone handling the requests can rely on it. That fulfills the constraint.
- mi100hael 8y agoIt's not really an analogy, though. If you have a POST request triggering some random sequence of actions, what's the resource? What representation of state is being transferred? It's not REST, it's just HTTP.