Top "Afnetworking" questions

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

Posting JSON as the body of a POST request using AFHTTPClient

I am trying to find a way, using AFNetworking, to set the Content-Type header to be application/json and to …

objective-c ios afnetworking
Domain=NSURLErrorDomain Code=-1001 "The operation couldn’t be completed. (NSURLErrorDomain error -1001.)"

my program is write for upload the picture from the cam,sample code below: #define WEBSERVICE_URL @"http://192.168.0.104/upload.php" …

nsurlconnection afnetworking nsurlrequest nsurlsession xcode6-beta6
AFNetworking 2.0 Request w. Custom Header

Ive tried to avoid asking such a newb question on here, but im a Android dev learning IOS and I …

ios header http-headers afnetworking afnetworking-2
ARC, Blocks and Retain Cycles

Working on an iOS project that targets 4.0 and 5.0, using ARC. Running into an issue related to blocks, ARC and referencing …

iphone ios ios5 automatic-ref-counting afnetworking
Issue with retrieving JSON with AFNetworking

I am trying to retrieve some JSON data with AFNetworking. My server component (PHP/ZendFramework) delivers the following response: >…

json afnetworking
Replacement for AFJSONRequestOperation in AFNetworking 2.x

I am making a basic iPhone app with HTML Requests, by following this tutorial. The tutorial has me using AFJSONRequestOperation …

ios objective-c afnetworking afnetworking-2 afjsonrequestoperation
iOS - Increase timeout for AFHTTPRequestOperationManager

I'm downloading JSON data from a very slow server. It takes about a minute to get a resoonse from the …

ios cocoa-touch afnetworking afnetworking-2
AFNetworking 3.0 AFHTTPSessionManager using NSOperation

I'm stuck now some time and I need help. So in AFNetworking 2.0 we have AFHTTPRequestOperation so I could easily use …

ios objective-c afnetworking nsurlsession
AFNetworking 2.0 : Cannot POST with JSON from IOS

Ever since upgrading my IOS code to use AFNetworking version 2.0 instead of 1.x, I cannot do an HTTP Post any …

ios json post afnetworking afnetworking-2
AFNetworking 2.0 - unexpected NSURLErrorDomain error -1012

We ran into the following issue with our app that uses AFNetworking 2.0. When using AFHTTPRequestOperationManager's GET method, we got an …

afnetworking nsurlerrordomain