Re: NSURLConnection POST issues

2010-01-12 Thread Gordon Henriksen
On 2010-01-09, at 22:31, Damien Cooke wrote: > [appendedData appendData:[[[NSString > stringWithFormat:@"ProdBuild=%@",[self productBuild]] > stringByAddingPercentEscapesUsingEncoding: > NSASCIIStringEncoding]dataUsingEncoding:NSASCIIStringEncoding > allowLossyConversion:YES]]; As an as

Re: NSURLConnection POST issues

2010-01-09 Thread Damien Cooke
Thanks Jason, I knew it would be simple. Thank you so much. Regards Damien On 10/01/2010, at 2:35 PM, Jason Foreman wrote: > > On Jan 9, 2010, at 9:31 PM, Damien Cooke wrote: > >> here is my code to send this data >> > >> [appendedData appendData:[[[NSString >> stringWithFormat:@"Prod

Re: NSURLConnection POST issues

2010-01-09 Thread Jason Foreman
On Jan 9, 2010, at 9:31 PM, Damien Cooke wrote: > here is my code to send this data > > [appendedData appendData:[[[NSString > stringWithFormat:@"ProdName=%@",[self applicationName]] > stringByAddingPercentEscapesUsingEncoding: NSASCIIStringEncoding] > dataUsingEncoding:NSASCIIStringEn

NSURLConnection POST issues

2010-01-09 Thread Damien Cooke
Hi All, I have a solution for this problem that I am not at all happy with. I have appended all of my html form variables into a single variable using ||| as the field separators. This is a rubbish solution. I am looking for a more elegant solution that is less like a dodgy hack. Here is the