Top "Afnetworking" questions

AFNetworking is a networking library for iOS and macOS available on GitHub and CocoaPods.

Request failed: unacceptable content-type: text/html using AFNetworking 2.0

I'm trying out the new version 2.0 of AFNetworking and I'm getting the error above. Any idea why this is happening? …

ios afnetworking afnetworking-2
NSURLSession/NSURLConnection HTTP load failed on iOS 9

Tried to run my existing app on iOS9 but getting failure while using AFURLSessionManager. __block NSURLSessionDataTask *task = [self.sessionManager dataTaskWithRequest:…

ios afnetworking nsurlsession ios9 tls1.2
AFNetworking Post Request

I'm a newbie in obj-c and have been using asihttp for some of my projects. When doing a post request …

ios objective-c afnetworking afnetworking-2
how to use Alamofire with custom headers

I am just starting to take a look at Mattt's wonderful new Alamofire swift networking library and am not quite …

swift afnetworking alamofire
How to load image in swift using Alamofire

I have a collection view controller, which load image Async by URL. (Something like Instegram) I am looking for the …

swift afnetworking alamofire
afnetworking 3.0 Migration: how to POST with headers and HTTP Body

I am trying to make a POST request which has HTTPHeader Fields and a HTTP body to the youtube API. …

ios objective-c post afnetworking afnetworking-3
List saved files in iOS documents directory in a UITableView?

I have set up the following code to save a file to the documents directory: NSLog(@"Saving File..."); NSURLRequest *request = […

iphone objective-c ios xcode afnetworking
AFNetworking 2.0 add headers to GET request

I've just started using AFNetworking 2.0 and I was wondering how I put in headers into a HTTP Get request. The …

iphone ios objective-c afnetworking afnetworking-2
How to set a timeout with AFNetworking

My project is using AFNetworking. https://github.com/AFNetworking/AFNetworking How do I dial down the timeout? Atm with no …

objective-c ios xcode networking afnetworking
Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed using AFNetworking

I am using AFNetworking library to post data on server using POST method. Following is my code - (void) callLoginAPI:(…

ios objective-c json afnetworking