Skip to content

Instantly share code, notes, and snippets.

@couchoud
Created August 20, 2010 18:57
Show Gist options
  • Save couchoud/540917 to your computer and use it in GitHub Desktop.
Save couchoud/540917 to your computer and use it in GitHub Desktop.
post_4 - cs3
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