Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example HATEOAS
response to GET 'awesomeprogrammers.com/latanya_sweeney'
{
"name" : "Latanya Sweeney",
"links" : [
"summary" : {
"verb" : "GET",
"url" : "http://latanyasweeney.org",
"authenticate" : false
},
"headshot" : {
"verb" : "GET",
"url" : "http://latanyasweeney.org/Sweeney6.jpg",
"authenticate" : false
},
"twitter" : {
"verb" : "GET",
"url" : "https://twitter.com/latanyasweeney",
"authenticate" : false
},
"update" : {
"verb" : "PUT",
"url" : "awesomeprogrammers.com/latanya_sweeney",
"authenticate" : true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.