I'm requesting data from the server but I have an issue that it is calling the cookie first than the data unlike it should be data first than cookie. So please how can I fix this issue?
I've seen this issue via Charles application.
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
[manager POST:string
parameters:@{@"data": @"<p_LM act=\"info\"/>", @"cookie": [temp objectForKey:@"cookie"]}
success:^(AFHTTPRequestOperation *operation, id responseObject) {
NSDictionary *dic = (NSDictionary *)responseObject;
NSString *parity = [dic objectForKey:@"Response"];
}