Skip to content

Instantly share code, notes, and snippets.

@rodchile
Created January 30, 2012 17:10
Show Gist options
  • Save rodchile/1705475 to your computer and use it in GitHub Desktop.
Save rodchile/1705475 to your computer and use it in GitHub Desktop.
RkRequestQueue
RKClient* requestClient = [RKClient clientWithBaseURL:MBLoginURL];
requestClient.disableCertificateValidation = YES;
RKRequest* theRequest = [requestClient requestWithResourcePath:@"" delegate:self];
[theRequest setHTTPBodyString:httpBody];
[theRequest setMethod:RKRequestMethodPOST];
[theRequest send];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment