is there an easy way to get the http status code in the failure block from AFHTTPClient?
Ok, found the answer with the operation object failure:^(AFHTTPRequestOperation *operation, NSError *error){ NSLog(@”error code %d”,[operation.response statusCode]); }];