Quote:
Originally Posted by chewbocka
I'm using something like this for get requests.
Code:
NSMutableURLRequest *request = [[NSMutableRequest alloc] initWithURL: [NSURL URLWithString: url]];
[request setHTTPMethod: @"GET"];
NSData *response = [NSURLConnection sendSynchronousRequest: request returningResponse: nil error: nil];
NSString *stringResponse = [[NSString alloc] initWithData: response encoding: NSUTF8StringEncoding];
|
Worked perfectly thanks a million!!!