Skip to content

Instantly share code, notes, and snippets.

@pj4533
Last active December 14, 2015 15:29
Show Gist options
  • Save pj4533/5108112 to your computer and use it in GitHub Desktop.
Save pj4533/5108112 to your computer and use it in GitHub Desktop.
Example AFHTTPClient request
[client getPath:path parameters:parameters success:^(AFHTTPRequestOperation *operation, id responseObject) {
// put a breakpoint for curlme here
NSLog("awesome stuff: %@", responseObject);
} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
NSLog("fail bro");
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment