Created
January 7, 2014 15:40
-
-
Save corinnekrych/8301173 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSString* readGoogleDriveURL2 = @"https://www.googleapis.com/drive/v2/files"; | |
| NSString *url = [NSString stringWithFormat:@"%@?access_token=%@", readGoogleDriveURL2, object]; | |
| AFHTTPClient* restClient = [[AFHTTPClient alloc] initWithBaseURL:[NSURL URLWithString:readGoogleDriveURL2]]; | |
| [restClient postPath:url parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) { | |
| NSLog(@"Invoking successblock for List Google DRIVE...."); | |
| } failure:^(AFHTTPRequestOperation *operation, NSError *error) { | |
| NSLog(@"Invoking failure block DRIVE...."); | |
| }]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment