3 ms·
Discussed at the time: https://news.ycombinator.com/item?id=15937448 https://news.ycombinator.com/item?id=15937448 His follow-up article https://medium.com/fre
by rauhl 7y ago
Discussed at the time: https://news.ycombinator.com/item?id=15937448 https://news.ycombinator.com/item?id=15937448
His follow-up article https://medium.com/free-code-camp/follow-up-to-rest-is-the-new-soap-the-origins-of-rest-21c59d243438 https://medium.com/free-code-camp/follow-up-to-rest-is-the-n... is not quite as bombastic and somewhat more mature, although IMHO it has errors too.
My own complain about REST is not about REST itself (because I think it’s great) but about the fact that it has come to mean ‘anything with HTTP and JSON.’ As the follow-up article notes, a really RESTful interface is going to define its own MIME types. Now, they might be JSON (or something cleaner, like S-expressions …), but they needn’t be. REST is about data and operations on data and data about operations — it’s not about JSON.