4 ms·
REST seems to be an API design pattern, rather than a spec. You can't build a standard REST client since there is no spec, but you can build a libraries that m
by tarr11 11y ago
REST seems to be an API design pattern, rather than a spec.
You can't build a standard REST client since there is no spec, but you can build a libraries that mostly work, since you can identify the pattern quickly.
- jonhohle 11y agoBut what would that library do? Map discrete input to serialized resource identifiers? Encode or decode resource payloads? Provide transport abstraction? Oh, REST doesn't have an opinion on any of the practical, tangible things a library would implement. Those are always left to the service author without an advertising mechanism for clients.
- tarr11 11y agoIt doesn't always work, but when it does, its better than having to support an explosion of SDK wrappers that all essentially do the same thing (e.g, provide the services you mention)
- vram22 11y ago>REST seems to be an API design pattern, rather than a spec. IIRC, in an article by Roy Fielding that I read, he said that REST is an architectural style.