Top "Afnetworking" questions

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

iOS 8 has broken SSL connection in my app - CFNetwork SSLHandshake failed (-9806)

My app simply connects to a web server on a home device and reads some html. It works fine when …

ssl https ios8 afnetworking self-signed
AFNetworking with request error code 999

I'm new to objective-c and i'm having a hard time with a AFNetworking. So the thing is that i want …

ios objective-c afnetworking rubymotion
How to use Alamofire with custom headers for POST request

I implemented a POST request with Alamofire with a custom header, because we work with OAuth2 and we have to …

swift post header afnetworking alamofire
How to set HTTP request body using AFNetwork's AFHTTPRequestOperationManager?

I am using AFHTTPRequestOperationManager (2.0 AFNetworking library) for a REST POST request. But the manager only have the call to set …

ios iphone objective-c ipad afnetworking
kCFStreamErrorDomainSSL, -9802 when connecting to a server by IP address through HTTPS in iOS 9

We have an iOS app that connects to our server through HTTPS. When the app is built with the new …

ios iphone afnetworking ios9 app-transport-security
AFNetworking and jSON

I am getting following the json response from a web-service api. I want to extract product data from the json. …

ios json afnetworking
How to add custom header to AFNetworking on a JSONRequestOperation

Hi, I have the following code accessing a URL: NSString * stringURL = [NSString stringWithFormat:@"%@/%@/someAPI", kSERVICE_URL, kSERVICE_VERSION]; NSURLRequest * request = […

ios objective-c json afnetworking nsurlrequest
Error code -1011 when I use AFNetWorking

I am doing a service in our customer company. And I try to get some information from their server by …

iphone error-code afnetworking
AFNetworking and POST Request

I'm getting this response in error.userInfo while making a POST request from AFNetworking. Can anyone tell either I'm missing …

ios afnetworking
How to get the response data out of the NSHTTPURLResponse in the callback of AFJSONRequestOperation?

I have a situation where I need to access the raw response data for an AFJSONRequestOperation, from within the callback …

ios afnetworking afjsonrequestoperation nshttpurlresponse