How ca we do Jason parsing with authorization in objective c :   
    NSURLSessionConfiguration *sessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration];
    
    NSURLSession *session = [NSURLSession sessionWithConfiguration:sessionConfig delegate:self delegateQueue:[NSOperationQueue mainQueue]];
    
    NSURL *url = [NSURL URLWithString:@"http://192.168.1.37:8000/sap/opu/odata/sap/ZGW_BANK_DATA_SRV/BankSet?$filter=(BankCtry%20eq%20%27IN%27)&$format=json"];
    
    NSMutableURLRequest *request= [NSMutableURLRequest requestWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0];
    
    // NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://192.168.1.37:8000/sap/opu/odata/sap/ZGW_BANK_DATA_SRV/BankSet?$filter=(BankCtry%20eq%20%27US%27)&$format=json"]];
   //  NSURLRequest * request = [NSURLRequest requestWithURL:[NSURL URLWithString:
   //                                                              [NSString stringWithFormat:
   //                                                               @"%@/%@/%@",
   //                                                               @"http://192.168.1.37:8000/sap/opu/odata/sap/ZGW_BANK_DATA_SRV/BankSet?$filter=(BankCtry%20eq%20%27IN%27)&$format=json",
       //                                                               @"abaper",
    //                                                               @"initial@1234"]]];
    
    
    [request setHTTPMethod: @"GET"  ];
    // [request setHTTPBody:self.requestData];
    [request setValue:@"abaper" forHTTPHeaderField:@"username"];
    [request setValue:@"xyz..." forHTTPHeaderField:@"password"];
    [request setValue:[[NSUserDefaults standardUserDefaults]valueForKey:@"Auth"] forHTTPHeaderField:@"Authorization"];
    [request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
    
    NSError *error ;
    NSHTTPURLResponse *responseCode = nil;

    NSData *oResponseData = [NSURLConnection sendSynchronousRequest:request returningResponse:&responseCode error:&error];
    if([responseCode statusCode] != 200){
        
        NSLog(@"Error getting %@, HTTP status code %li", url, (long)[responseCode statusCode]);
   
    }
    else{
        NSDictionary *responsedata = [NSJSONSerialization JSONObjectWithData:oResponseData options:NSJSONReadingAllowFragments error:&error];
        
        NSLog(@"%@",responsedata);
    }
    
    //
    //    NSHTTPURLResponse * response = nil;
    //    NSError * error = nil;
    //    NSData * data = [NSURLConnection sendSynchronousRequest:request
    //                                          returningResponse:&response
    //                                                      error:&error];
    //
    //    NSLog(@"Response code: %ld", (long)[response statusCode]);
    //
    //    if ([response statusCode] >= 200 && [response statusCode] < 300)
     //    {
     //
    //        NSString *responseData = [[NSString alloc]initWithData:data encoding:NSUTF8StringEncoding];
    //        NSLog(@"Response ==> %@", responseData);
    //
    //
    //        }
    }

