I'm new to Web Services for iPhone and have a quick question. I want to send some values up to my php script on the server, however since there are so many values I dont want to include them in the actual URL (access them in $_GET in PHP). I want to send up a XML string that will allow my PHP script to get all the data and process it. So far I have the following template for sending data:
NSURL *someURL = ...
NSString *xmlString = @"This would be the entire XML message";
NSData *data = [xmlString dataUsingEncoding:NSUTF8StringEncoding];
NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:someURL cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:90];
[req setHTTPBody:data];
[req setHTTPMethod:@"POST"];
Now my understanding is this would submit the XML to the PHP script. My question is how would I obtain this on the server side ... what would the $_POST['?????'] value be?
Thanks