4 ms·
how did the machines you programmed react to new and novel links/actions in the response?
by recursivedoubts 1y ago
how did the machines you programmed react to new and novel links/actions in the response?
- NomDePlum 1y agoNew are fine, Novel need catered for. I have left a fuller explanation to a sibling comment.
- recursivedoubts 1y agoRight, so that means that the primary novel aspect of REST (according to the coiner of that term, Roy Fielding), the uniform interface, is largely wasted. Effectively you get a level of indirection on top of hard-coded API response endpoints. Maybe better, but I don't think by much and a lot of work for the payoff. To take advantage of the uniform interface you need to have a consumer with agency who can respond to new and novel interactions as presented in the form of hypermedia controls. The links above will explain more in depth, the section on REST in our book is a good overview: https://hypermedia.systems/components-of-a-hypermedia-system/#_rest https://hypermedia.systems/components-of-a-hypermedia-system...