Skip to content

Instantly share code, notes, and snippets.

@javaeeeee
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save javaeeeee/d10fbda8cd9a43054ec8 to your computer and use it in GitHub Desktop.

Select an option

Save javaeeeee/d10fbda8cd9a43054ec8 to your computer and use it in GitHub Desktop.
HAL representation with CURIE
{
"_links":{
"self":{
"href":"/book/123"
},
"curries":[
{
"name":"ns",
"href":"http://booklistapi.com/rels/{rel}",
"templated":true
}
],
"ns:authors":[
{
"href":"/author/4554",
"title":"Leonard Richardson"
},
{
"href":"/author/5758",
"title":"Mike Amundsen"
},
{
"href":"/author/5759",
"title":"Sam Ruby"
}
]
},
"Title":"RESTful Web APIs",
"Price":"$31.92",
"Paperback":"408 pages",
"Language":"English"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment