KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I see that there is a list of accepted http status codes that I can modify, but I think it would be cleaner if I can get the http status code in the failure block .. Ok, found the answer with the operation object failure:^(AFHTTPRequestOperation *operation, NSError *error){ NSLog(@"error code %d",[operation.response statusCode]); }];
Tags (comma-separated)
Save Edits
Cancel