Re: POSTing into a server from COCOA
Re: POSTing into a server from COCOA
- Subject: Re: POSTing into a server from COCOA
- From: Andrew Farmer <email@hidden>
- Date: Thu, 14 Sep 2006 08:49:14 -0700
On 14 Sep 06, at 03:17, deepak gopal wrote:
Hi Ken ,
I tried modifying your code as
NSURL *url = [NSURL URLWithString:@"http://www.apple.com"];
NSData *data; // data from the website
KHTTPSocket *socket = [KHTTPSocket socketWithURL: url];
id result = [socket send: @"testing 1, 2, 3"];
But when I run the code, I get the following error:
NSURLErrorDomain
Error Code : 1012
User info : 2 key/value paris
Have you tried looking up the error code, or checking its userinfo?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden