How to hit post request with NSDictionary as parameter
问题 I am trying to hit post type sending dictionary as parameter. Below is what i tried so far, but i think format sending is not generating correctly. Please guide, code is below: Data fetching which need to send as parameter: NSArray *routesLegsArray = [[[[[json objectForKey:@"routes"]objectAtIndex:0] objectForKey:@"legs"] objectAtIndex:0] objectForKey:@"steps"]; NSMutableArray *arrSteps = [[NSMutableArray alloc] init]; for(int i=0; i<[routesLegsArray count]; i++) { if ([routesLegsArray count]