I'm converting a bunch of ASI connection requests with the NSURLConnection and NSURLRequest classes from apple.
one of the issues is that the post request has to use https.. but I'm not sure if this is possible with NSURLRequest, this is currently how my code looks.
NSData *postBodyData = [NSData dataWithBytes: [postBodyString UTF8String] length:[postBodyString length]];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:yourURL];
[request setHTTPMethod: @"POST"];
[request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"content-type"];
[request setHTTPBody:postBodyData];
My question is, will this work over https, do I have to do anything extra to make sure I am complying with https security standards.. or something else that I'm unaware of. any help would be appreciated