Skip to content

Instantly share code, notes, and snippets.

@robballou
Created January 28, 2011 17:40
Show Gist options
  • Save robballou/800620 to your computer and use it in GitHub Desktop.
Save robballou/800620 to your computer and use it in GitHub Desktop.
// send an asynch request to http://localhost/some.json (a JSON file)
NSURL *url = [NSURL URLWithString:@"http://localhost/some.json"];
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setDelegate:self];
[request startAsynchronous];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment