Created
August 20, 2010 18:57
-
-
Save couchoud/540917 to your computer and use it in GitHub Desktop.
post_4 - cs3
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
serviceDefinitions = { | |
"getUser" : { | |
"url" : "/users/{id}" | |
"type" : "GET", | |
"dataType" : "json", | |
"contentType" : "" | |
}, | |
"updateUser" : { | |
"url" : "/users/{id}" | |
"type" : "PUT", | |
"dataType" : "json", | |
"contentType" : "application/json" | |
}, | |
"getUserByFullName" : { | |
"url" : "/users/{fullName}" | |
"type" : "GET", | |
"dataType" : "json", | |
"contentType" : "" | |
}, | |
"getRecipe" : { | |
"url" : "/recipes/{id}" | |
"type" : "GET", | |
"dataType" : "json", | |
"contentType" : "" | |
}, | |
"updateRecipe" : { | |
"url" : "/recipes/{id}" | |
"type" : "PUT", | |
"dataType" : "json", | |
"contentType" : "application/json" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment