Hacker News new | past | comments | ask | show | jobs | submit login

I wrote an api that has HATEOAS, but none of the devs really use it. They seem to prefer hardcoding strings.



The hardcore randomly change all the urls in testing to make sure nothing is hardcoded. A hateos api should still work.


Haha, I thought about doing that, but it would just serve to piss a lot of people off.

I think it would be kind of cool to have a little project/developer toy that would be an API where only a single endpoint was provided (think http://mysteryapi.com), and the rest of it had to be discovered. It could be like the labyrinth from House of Leaves, but in REST API format.


Developers Like Hypermedia, But They Don't Like Web Browsers. From Leonard Richardson at WS-REST2010.

http://ws-rest.org/2010/files/WSREST2010-Preliminary-Proceed... starts at page 6




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: