Top "Afnetworking" questions

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

How to print AFNetworking request as RAW data

For debuging purposes I'd want to print whole request body. I'm using AFHTTPClient. printing client gives some information, like headers …

ios afnetworking
How to get status code in AFNetworking

I have a method, for authorizing user. I need Basic authorization. NSString *url = [NSString stringWithFormat:@"%@/rest/api/person/auth", host]; …

ios afnetworking afnetworking-2
Problems with SSL Pinning and AFNetworking 2.5.0 (NSURLErrorDomain error -1012.)

We’ve been having a hard time securing our app’s network connections with SSL using AFNetworking 2.5.0. We use a …

ios ssl afnetworking afnetworking-2
How do I set a request timeout and cache policy in AFNetworking 2.0?

I'm following the given example code AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; [manager GET:@"http://example.com/resources.json" parameters:nil success:^(…

ios objective-c afnetworking afnetworking-2
Swift Alamofire VS AFNetworking

I am developing an app using Swift. I want to call a REST API. I found there are two popular …

ios swift afnetworking alamofire
Using AFNetworking and HTTP Basic Authentication

The following code successfully connects to my Ruby on Rails API and returns JSON using AFNetworking. What do I need …

iphone objective-c json afnetworking nsurlrequest
is there an example of AFHTTPClient posting json with AFNetworking?

Looking for an example of how to post json with AFHTTPClient. I see that there is a postPath method which …

afnetworking jsonkit
AFNetworking: Can't get the response string from AFHTTPRequestOperation

Anyone?): I'm having a problem that has made me scratch my head for the last 2 hours, and it most likely …

ios networking afnetworking nsurlrequest
Swift and AFNetworking integration

Now as swift is the new language to develop iOS apps. How can we integrate with the AFNetworking or using …

objective-c afnetworking swift afnetworking-2 ios8
How to set content-type in AFnetworking

I'm having problem with AFNetworking. I can't set content-type to application/json. How can i do? i try a lot …

ios objective-c json afnetworking content-type