Skip to content

Instantly share code, notes, and snippets.

@mkheck
Created February 1, 2016 17:10
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 mkheck/2747f11e2e6418aefb8d to your computer and use it in GitHub Desktop.
Save mkheck/2747f11e2e6418aefb8d to your computer and use it in GitHub Desktop.
{
"_embedded" : {
"readings" : [ {
"temperature" : 25.0,
"humidity" : 34.0,
"_links" : {
"self" : {
"href" : "http://localhost:8080/readings/1"
},
"reading" : {
"href" : "http://localhost:8080/readings/1"
}
}
}, {
"temperature" : 26.0,
"humidity" : 35.0,
"_links" : {
"self" : {
"href" : "http://localhost:8080/readings/2"
},
"reading" : {
"href" : "http://localhost:8080/readings/2"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "http://localhost:8080/readings"
},
"profile" : {
"href" : "http://localhost:8080/profile/readings"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment