I'm using AFNetworking 2.0 for a normal GET request and the parameter dictionary seems to be having no effect. I'm using the standard:
[manager GET:URLString parameters:parameters success:^(AFHTTPRequestOperation *operation, id responseObject) {...
but my NSMutableDictionary (parameters) doesn't seem to have any effect on the URL sent in the GET request (GET requests don't have HTTP Bodies as far as I'm aware so they won't be there). So where are the parameters going? I know I could always amend the string, but the way in which I receive the parameters on an optional basis makes it far easier to just send in a dictionary. What's wrong, why isn't it working?
Thanks,
Mike
UPDATE: I'm setting the parameter like this: [parameters setValue:self.Object.ID forKey:@"Filter.Id"];
ID is a string. However, when I do [parameters valueForKey:@"Filter.Id"]
I get a (null) in the NSLog. I'm going to mess around with it a little and see how it goes, but if you have any ideas why this is happening I'd appreciate it. Also, parameters is an NSMutableDictionary and is a property of the ViewController.