hi iam working in simple application in which i need to post data to the server using webservices but ipost string data to the web server but it give an error" large amount of binary data will be truncated " my code for above sending is below
NSString *queryString = [NSString stringWithFormat:@"url/message=%@",strMessage]; queryString = [queryString stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]; NSURL *url = [NSURL URLWithString:queryString]; NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url]; [req addValue:@"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"]; [req addValue:0 forHTTPHeaderField:@"Content-Length"]; [req setHTTPMethod:@"GET"]; NSURLConnection *conn = [[NSURLConnection alloc] initWithRequest:req delegate:self];
plz helps us above problem plz give any helps or code snnipet
thanks in advance