3 ms·
I am the author of this article. I see a lot of people saying "HATEOAS doesn't work/has anyone ever used it". The answer is YES: the world wide web and any tr
by recursivedoubts 3y ago
I am the author of this article.
I see a lot of people saying "HATEOAS doesn't work/has anyone ever used it".
The answer is YES: the world wide web and any traditional web 1.0 application uses it quite successfully. The important thing to realize is that an HTML-based web server is providing an API: a hypermedia-based API. It is providing it to a hypermedia client, namely the browser.
The concept has not mapped well to JSON-based data APIs because those APIs are not typically consumed by REST-ful clients. Or, if they are as in an SPA, the hypermedia functionality of the client is ignored in favor of a thick-client approach.
We have written a book on the idea of a hypermedia system that explains this in far more detail:
https://hypermedia.systems https://hypermedia.systems
which stresses the systemic nature of hypermedia when building a distributed application.