Skip to content

Instantly share code, notes, and snippets.

@kylestew
Created February 22, 2012 09:21
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 kylestew/1883549 to your computer and use it in GitHub Desktop.
Save kylestew/1883549 to your computer and use it in GitHub Desktop.
Example RestDroid Use
RestResponse response = RestDroid.Post(SERVER + "/people",
"person[fname]=Barbados", "person[lname]=Slim", "person[age]=42");
if (!response.error && response.statusCode == 201) {
// Use the response
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment