News for hackers. Stuff that matters.
Re:Most RESTful APIs Aren't RESTful by troupo on Wednesday July 09, 2025 @10:53AM (#44510745)
> but the HATEOAS detail ends up having no practical value and creates more problems than the ones it solves.

Only because we never had the tools and resources that, say, GraphQL has.

And now everyone keeps re-inventing half of HTTP anyway. See this diagram https://raw.githubusercontent.com/for-GET/http-decision-diag... (docs https://github.com/for-GET/http-decision-diagram/tree/master...) and this: https://github.com/for-GET/know-your-http-well

Re:Most RESTful APIs Aren't RESTful by motorest on Thursday July 10, 2025 @01:49AM (#44517691)
> Only because we never had the tools and resources that, say, GraphQL has.

GraphQL promised to solve real-world problems.

What real world problems does HATEOAS addresses? None.

Re:Most RESTful APIs Aren't RESTful by troupo on Thursday July 10, 2025 @04:00AM (#44518498)
GraphQL was "promising" something because it was a thing by a single company.

HATEOAS didn't need to "promise" anything since it was just describing already existing protocols and capabilities that you can see in the links I posted.

And that's how you got POST-only GraphQL which for years has been busily reinventing half of HTTP