Better HN
topnewbestaskshowjobs
Log inSign up

Valulz

4 karma · joined Aug 18, 2015 (11y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

YouTube poop https://en.wikipedia.org/wiki/YouTube_Poop

comment 1y ago · link · parent

Agreed. I wish there was some examples to better understand what the author means. Like, in a web app, do i have any prior knowledge about the "_links" actions? Do I know that the server is going to return the actions "self" and "activate"? Is the idea to hide the routes from the user until the api call, but he should know that the api could return actions like "self", "activate" or "deactivate"? How do you communicate that an action requires a specific body? For example, the call activate is done in POST and expect a json body with a date inside. How do you tell that to the user?