I use ut this way like this:
NSString* urlString = [NSString stringWithFormat:GOOGLE_PLACES_API_JSON, latitude,longitude, radius, types];
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
[manager GET:urlString
parameters:nil
success:^(AFHTTPRequestOperation *operation, id responseObject) {
//do stuff
}
failure:^(AFHTTPRequestOperation *operation, NSError *error) {
//show error
}];