3 ms·
> Why is REST so popular? REST is not popular, there are only a few RESTful public API in the wild. The rest (unavoidable pun, sorry) are simple HTTP APIs with
by bvrmn 9y ago
> Why is REST so popular?
REST is not popular, there are only a few RESTful public API in the wild. The rest (unavoidable pun, sorry) are simple HTTP APIs with JSON serialization which maps with various degree of coupling to internal data layer.
The main cause you don't need REST limitations to achieve same goals.
OP has strong opinion about why we need to reimplement rpc over http every time for every application and write clients for every popular platform to be able to consume it.
Every time I use REST from any google cloud api, my hair is moving and you definitely will have nightmares if you look into their python client code.
- Cyphase 9y ago> The rest (unavoidable pun, sorry) ... The remainder.
- BerislavLopac 9y agoGood name for a REST library. ;-)
- goostavos 9y agoLink to these "actual" RESTful public APIs? I've been curious to see one (for years). Everyone talks about how this REST service is being done wrong, but few will link to services being done "right".
- karmajunkie 9y agoThis is the no-true-scotsman fallacy applied to REST. In point of fact, if REST has been around for nearly 17 years and there are so few of these APIs in the wild, then its been incredibly unsuccessful in its aims. The truth is that these sites are, in fact, RESTful and that REST is just mediocre at what it professes to do. The requirement to treat all operations as resources + HTTP verbs is the primary leaky abstraction that everyone seems to want to gloss over.