Re:Hypermedia Clients
by ucarion on Wednesday February 01, 2023 @07:12PM
(#34620172)
REST as understood by Fielding is useful when you have a highly heterogeneous, connected set of things your clients and servers operate on, like websites or a government intelligence system.
These sorts of domains are pretty uncommon. It's far more than just an extra layer of indirection to keep backwards compatibility; in practice, you can't change HTTP-layer APIs regardless of your hypermedia controls. People bookmark things and write curl scripts.
Re:Hypermedia Clients
by nerdponx on Thursday February 02, 2023 @02:25PM
(#34631787)
I'm not entirely sure. Fetching attributes of related entities and pagination are really common operations, and those are natural cases where providing the client with pre-built URLs can make the client's job a lot simpler.
These sorts of domains are pretty uncommon. It's far more than just an extra layer of indirection to keep backwards compatibility; in practice, you can't change HTTP-layer APIs regardless of your hypermedia controls. People bookmark things and write curl scripts.