Skip to content

Instantly share code, notes, and snippets.

@altfatterz
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save altfatterz/3ce4216ca5230c24f57b to your computer and use it in GitHub Desktop.
Save altfatterz/3ce4216ca5230c24f57b to your computer and use it in GitHub Desktop.
~ curl http://localhost:8080/pages
{
"_embedded" : {
"pages" : [ {
"name" : "login",
"_links" : {
"self" : {
"href" : "http://localhost:8080/pages/1"
},
"portal" : {
"href" : "http://localhost:8080/pages/1/portal"
}
}
}, {
"name" : "accounts",
"_links" : {
"self" : {
"href" : "http://localhost:8080/pages/2"
},
"portal" : {
"href" : "http://localhost:8080/pages/2/portal"
}
}
}, {
"name" : "profile",
"_links" : {
"self" : {
"href" : "http://localhost:8080/pages/3"
},
"portal" : {
"href" : "http://localhost:8080/pages/3/portal"
}
}
} ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment