Questions tagged [afnetworking-2]

AFNetworking 2.0 is a powerful networking tool designed for Apple's iOS devices version 6 and above, as well as Macintosh computers running OS X 10.8 or higher.

Is it true that AFNetworking stores cookies generated on the server indefinitely?

Having an issue with my iOS application. I am using AFNetworking to communicate with my REST api on a node.js server (powered by express.js). I have two endpoints - one for logging in and another for logging out. When a user logs in, I create a cookie on ...

Utilizing AFNetworking for parsing JSON

Currently, I am utilizing AFNetworking 2 to fetch some JSON data from a server. The data pertains to employees, for which I have created an employee object and an employees NSMutableArray. The service is functional as evidenced by the log outputting respo ...

What is the best way to successfully POST an array of dictionaries within another dictionary in Objective-C?

I have the knowledge and skills to tackle this task, it should be relatively straightforward. Unfortunately, despite my efforts, it's just not functioning properly. Below is the function I am utilizing to POST the data: - (void)updateWebsitesUsingP ...

Exceeded request limit resulting in a timeout while making multiple AFNetworking requests

I'm having trouble with a piece of code that is supposed to download 40 JSON files. NSMutableArray *mutableOperations = [NSMutableArray array]; for (NSDictionary *dict in general_URL) { NSURL *url = [dict objectForKey:@"url"]; NS ...