Skip to content

Instantly share code, notes, and snippets.

@KazChe
Created May 2, 2014 01:46
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 KazChe/5eb12e77af2ac057554b to your computer and use it in GitHub Desktop.
Save KazChe/5eb12e77af2ac057554b to your computer and use it in GitHub Desktop.
blog_hateoas_transition_request_template
{
"links":[
{
"rel":"addphone",
"href":"http://localhost:8080/rest/account/v1/addphone",
"httpMethod":"POST",
"stateTransitionVars":{
"phoneNumber": {
"countryCode": "",
"phoneNumber": ""
},
"pin": ""
}
},
{
"rel":"addcontact",
"href":"http://localhost:8080/rest/account/v1/addcontact",
"httpMethod":"POST",
"stateTransitionVars":{
"firstname":"",
"lastname":"",
"phonenumber":"",
"adress":"",
"city":"",
"state": ""
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment