4 ms·
HATEOAS if your API needs to maintain state AND you want links AND you want a standard. A game API would be a good use case. REST if your API should not mainta
by rendall 10y ago
HATEOAS if your API needs to maintain state AND you want links AND you want a standard. A game API would be a good use case.
REST if your API should not maintain state between requests. If you want links as a part of your response (and want to use a standard) use e.g. HAL or JSON API.
I view them as mutually exclusive.