3 ms·
It describes how to construct URLs to get from one state to another (e.g. from a base URL to a list of songs, or from the list to an individual song). REST URLs
by danellis 11y ago
It describes how to construct URLs to get from one state to another (e.g. from a base URL to a list of songs, or from the list to an individual song). REST URLs are supposed to be opaque. A RESTful resource should provide links to its related resources for the user agent to navigate.
There's nothing wrong with what the author is trying to do, but it's nothing to do with REST.
- SeldomSoup 11y agoOops. That's one detail I missed in all those API tutorials. Thanks.
- danellis 11y agoThe canonical source is Roy Fielding's thesis, in particular chapters 5 and 6. https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm