Skip to content

Instantly share code, notes, and snippets.

@wess
Created August 28, 2012 01:29
Show Gist options
  • Save wess/3494099 to your computer and use it in GitHub Desktop.
Save wess/3494099 to your computer and use it in GitHub Desktop.
JSON FOR F'ING BROWNIES.
NSURL *url = [NSURL URLWithString:@"http://rigmonkeyapp.com/wp-admin/admin-ajax.php?action=wpp_export_properties&api=343cae213812a8662431a29c5e6ddcc20154219b&format=json&limit=5"];
NSURLRequest *request = [NSURLRequest requestWithURL:articleURL];
NSData *data = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
NSDictionary *result = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
@andrewroycarter
Copy link

lol @ F'ING BROWNIES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment