Hi i'm trying to give a request to the url in iphone sdk the http method is POST. The http body contains some escape characters
NSString *requestMessage=[NSString stringWithString:@"?username/u001password/u001description"];
NSMutableURLRequest *url=[NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://welcome.com"]];
[url setHTTPMethod:@"POST"];
[url setHTTPBody:[requestMessage dataUsingEncoding:NSUTF8StringEncoding]];
NSURLConnection *theConnection=[[NSURLConnection alloc] initWithRequest:url delegate:self];
the escape character here is /u001
by this code i didn't get any correct response. i thing its wrong with the escape characters only. plz give me a solution for how to give escape sequence in cocoa. Thanks in advance