3 ms·
>Fielding style REST with hypermedia only makes sense for the HTML web where you have a human determining how to navigate from one page to another. Yeah, once
by Groxx 4y ago
>Fielding style REST with hypermedia only makes sense for the HTML web where you have a human determining how to navigate from one page to another.
Yeah, once I realized this, HATEOAS / "strict" REST immediately went into my "nope" bucket. It's pretty much fine for humans and makes some compelling decisions in that context, but it's wildly unusable and unstructured for literally anything else and that makes it almost useless.
HTTP verbs and codes are plenty useful, and REST has been co-opted to mean "use verbs and codes correctly" and... I'm OK with that. It summarizes as "follow the patterns that much of the computing world relies on, so you don't break shit everywhere all the time" and that's something absolutely worth understanding and adopting in depth.