Skip to content

Instantly share code, notes, and snippets.

@Sam-Kruglov
Last active January 11, 2018 05:13
Show Gist options
  • Save Sam-Kruglov/b3918701761aeadf92997a504c00dd99 to your computer and use it in GitHub Desktop.
Save Sam-Kruglov/b3918701761aeadf92997a504c00dd99 to your computer and use it in GitHub Desktop.
DTO Accessing GET localhost:8080/users/search/username?id=1 with links
{
"username": "jsmith",
"_links": {
"self": {
"href": "http://localhost:8080/users/search/username{?id}",
"templated": true
},
"user": {
"href": "http://localhost:8080/users/1"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment