Live data from Hacker News

RESTful APIs, the big lie

mmikowski.github.io

21–22 of 22 posts

Re: RESTful APIs, the big lie

#21
post #19
post #13

Earlier quoted context omitted.

> Microsoft hit the spot twenty years ago with XML-RPC. Well then, why are we even arguing about this? You like pasta, I like pizza, and never the twain shall meet. REST was born out of rejection for XML-RPC (and SOAP, which was its logical evolution once The Enterprise got involved). If you like XML-RPC, by all means keep using it. I just don't see the point in advocating (as TFA does) that people should abandon wor…

> REST was born out of rejection for XML-RPC (and SOAP, which was its logical evolution once The Enterprise got involved). Not even remotely true. REST was a re-invention of XML-RPC wheel -- for the web and using baroque HTTP conventions that were meant for documents and hyperlinks. XML-RPC was never rejected because it never caught much on in the first place. On the enterprise they pushed for SOAP at the same time,…

> Not even remotely true. REST was a re-invention of XML-RPC wheel -- for the web and using baroque HTTP conventions that were meant for documents and hyperlinks.

Not even remotely true. REST is an architectural style inspired by the then-existing web, describing an idealized structure based on it, and developed in parallel with and guiding HTTP/1.1. It does not mandate HTTP conventions, though HTTP is itself an example of the style.

REST only involves HTTP conventions to the extent that one decides to use it over HTTP, and only because HTTP involves (obviously) HTTP conventions.

Re: RESTful APIs, the big lie

#22
post #19

Earlier quoted context omitted.

> REST was born out of rejection for XML-RPC (and SOAP, which was its logical evolution once The Enterprise got involved). Not even remotely true. REST was a re-invention of XML-RPC wheel -- for the web and using baroque HTTP conventions that were meant for documents and hyperlinks. XML-RPC was never rejected because it never caught much on in the first place. On the enterprise they pushed for SOAP at the same time,…

> Not even remotely true. REST was a re-invention of XML-RPC wheel -- for the web and using baroque HTTP conventions that were meant for documents and hyperlinks. Not even remotely true. REST is an architectural style inspired by the then-existing web, describing an idealized structure based on it, and developed in parallel with and guiding HTTP/1.1. It does not mandate HTTP conventions, though HTTP is itself an exam…

Not even remotely true.

REST is what it is in practice, not what some guy originally proposed as REST, in the same way modern words are not their etymology in Latin or Greek.

And in practice it's a re-invention of RPC, similar to XML-RPC, over HTTP and JSON, but with less rigor.

Kind of like any big C program has an ad-hoc implementation of half of Common Lisp thing.

>REST only involves HTTP conventions to the extent that one decides to use it over HTTP, and only because HTTP involves (obviously) HTTP conventions.

Ok, then you should have no issue with not using HTTP conventions and just use HTTP for transport.

Post reply on HN