Linking and Resource Expansion: REST API Tips - Stormpath User Management API
While the specifications for both XML (via XLink) and HTML (via anchor tags, the "a" element) have hypertext references built into their respective specifications, there is no such JSON-specific specification for linking. This means there are many different ways to add hypertext to your REST + JSON API. Some examples include JSON API, Collection+JSON, HAL and Siren.
Read full article from Linking and Resource Expansion: REST API Tips - Stormpath User Management API
No comments:
Post a Comment