Skip to content

Instantly share code, notes, and snippets.

@trepidity
Created June 23, 2016 16:24
Show Gist options
  • Select an option

  • Save trepidity/2407a85ea6abfa74382f5eb0e9c8cdd9 to your computer and use it in GitHub Desktop.

Select an option

Save trepidity/2407a85ea6abfa74382f5eb0e9c8cdd9 to your computer and use it in GitHub Desktop.
https://frank-api-dev-pr-11.herokuapp.com/profiles
JSON DATA
{"data": {"type":"profiles", "attributes":{"firstname":"John", "lastname":"Doe", "email":"[email protected]"}}}
JSON RESPONSE
{
"data": {
"id": "1",
"type": "profiles",
"links": {
"self": "https://frank-api-dev-pr-11.herokuapp.com/profiles/1"
},
"attributes": {
"firstname": "John",
"lastname": "Doe",
"full-name": "John Doe",
"email": "[email protected]",
"created-at": "2016-06-23T15:57:00.461Z"
},
"relationships": {
"entries": {
"links": {
"self": "https://frank-api-dev-pr-11.herokuapp.com/profiles/1/relationships/entries",
"related": "https://frank-api-dev-pr-11.herokuapp.com/profiles/1/entries"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment