Skip to content

Instantly share code, notes, and snippets.

@jessebeach
Created October 27, 2014 14:48
Show Gist options
  • Save jessebeach/dc16a6ca5e9d92a9f66d to your computer and use it in GitHub Desktop.
Save jessebeach/dc16a6ca5e9d92a9f66d to your computer and use it in GitHub Desktop.
JSON-LD response
HTTP/1.1 200 OK
Content-Type: application/json
Link: <http://api.example.com/person.jsonld>;rel="http://www.w3.org/ns/json-ld#context"
{
"n": "Jenny Gallegos",
"photo_link": "http://www.example.com/img/omjennyg"
}
Example taken from: Richardson, Leonard. "Restful Web APIs".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment