Created
May 2, 2014 01:46
-
-
Save KazChe/5eb12e77af2ac057554b to your computer and use it in GitHub Desktop.
blog_hateoas_transition_request_template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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