I\'m trying to send an authentication string via cookie in a NSMutableURLRequest. I\'m trying to create the NSHTTPCookie through
+(id)cookieWithProperties:(
I could not get that to work.
I got this to work however:
NSMutableURLRequest* ret = [NSMutableURLRequest requestWithURL:myURL]; [ret setValue:@"myCookie=foobar" forHTTPHeaderField:@"Cookie"];