5 ms·
REST isn't enough. To do it right use the HATEOAS constraint. http://en.wikipedia.org/wiki/HATEOAS http://en.wikipedia.org/wiki/HATEOAS And use application/ha
by centro 13y ago
REST isn't enough.
To do it right use the HATEOAS constraint. http://en.wikipedia.org/wiki/HATEOAS http://en.wikipedia.org/wiki/HATEOAS
And use application/hal+json http://stateless.co/hal_specification.html http://stateless.co/hal_specification.html
The more we follow these simple constraints the more we can start to build tooling to consume any API without having to know much about it ahead of time.
That said, well written article.
- dragonwriter 13y ago> REST isn't enough. > To do it right use the HATEOAS constraint. The HATEOAS constraint is part of REST; if you aren't using it, you aren't doing REST.