Note that there are some explanatory texts on larger screens.

plurals
  1. POI am sending dictionary in json and its have two array and multiple value but i am getting response access denied
    primarykey
    data
    text
    <p>I am sending two array and multiple value throw json but when i send this i am getting success code 200 and its response showing access denied pls any one give me right way to solve it **</p> <pre><code>-(void)SaveColumnConnection { NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURLURLWithString:@"http://xxxyyyzzzz.php"]]; NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:oneRowColumn,@"oneRowCols",memberTid,@"table_title_id",totalRowStr,@"totRow",rowandColumn,@"tempColName",tableOptIdArray ,@"tempOptid",companyId,@"companyid",@"savecolumniphone",@"tag",nil]; NSLog(@"dict %@",dict); SBJSON *parser =[[SBJSON alloc] init]; NSString *jsonString = [parser stringWithObject:dict]; [request setHTTPMethod:@"POST"]; [request setHTTPBody:[jsonString dataUsingEncoding:NSUTF8StringEncoding]]; [request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"]; [NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSHTTPURLResponse *HTTPResponse = (NSHTTPURLResponse *)response; NSInteger statusCode = [HTTPResponse statusCode]; if (statusCode==200) { //Request goes in success NSString *str = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSLog(@"Json for post array ----------%@",str); } else{ ///request is get failed NSLog(@"Error Description %@",[error localizedDescription]); } }]; [request release]; } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload