by muaddirac · 11y ago · 0 comments
discoverable != must be discovered
This is a misconception and criticism I used to have. However, it's a misunderstanding of the point of HATEOAS - the point isn't that you can't use hard-coded URIs, but that any given URI should be reachable by traversal from the root URI.
In other words, it's fine to keep a bookmark to your favorite article, just make sure you can get to that article from the homepage, too.
(I guess I would say modulo redirects as well)
No comments yet.