On May 14, 2008, at 5:11 PM, Jens Alfke wrote:
On 14 May '08, at 10:03 AM, [EMAIL PROTECTED] wrote:
Essentially I want to mimic the Java HTTPConnect example I gave.
I also want to be able to change the request property to POST, as in
the Java equivalent:
connection.setRequestMethod(HttpConnection.POST);
If you're doing HTTP, use NSURLConnection instead of trying to re-
invent your own HTTP support on top of the basic stream classes.
It has a class method that does synchronous requests.
Agreed. You can use -[NSMutableURLRequest setHTTPMethod:] to use POST.
-Dave
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]