Replying to @stilkov @Google
The server defining URLs (as opposed to the client building them) is also the core of HATEOAS. Speaking of which - it’s a bit unfortunate that the name of such a good concept starts with the word “hate”.
2
1
That acronym is unfortunate (and not part of @fielding’s thesis). Small nitpick: It’s fine for the client to build URIs if the “recipe” for doing so is sent by the server in response to a preceding request (as done with HTML GET forms)
2
2
Replying to @stilkov
@JREB1990 This could be interesting for you!
1
Replying to @stilkov @Google
Although I agree with the author in principle, I didn’t find the article terribly well motivated. As verbose as he was, he didn’t have good references. No mention of HAL, Siren or Collection+JSON?!
Replying to @stilkov @Google
Designing links isn't trivial :)
Replying to @stilkov @Google
I like HAL as an easy and convenient way to add them. stateless.co/hal_specificati…
2
Replying to @stilkov @Google
What do you think of providing links AND elements (raw ids), with which you can build these links on client-side? We had a discussion earlier this week in the office. Would be interesting what you think of it!
1