kinlane
9/2/2013 - 3:29 PM

Objective-C REST Simple

Objective-C REST Simple

- (void)fetchSomething
{
  [[LRResty client] get:@"http://www.example.com" withBlock:^(LRRestyResponse *r) {
    NSLog(@"That's it! %@", [r asString]);
  }];
}