Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: