I've subclassed AFHTTPSessionManager as encouraged by the docs. When I do a POST, like so:
[[ABHTTPSessionManager sharedManager] POST:@"/api/foo" parameters:@{@"foo": @"bar"} success:^(NSURLSessionDataTask *task, id responseObject) {
// handle success
} failure:^(NSURLSessionDataTask *task, NSError *error) {
// handle failure
}];
In the failure block I'd like to access the body of the response. Is the only way to do this to write a custom response serializer?