Re: POST request on iPhone
Re: POST request on iPhone
- Subject: Re: POST request on iPhone
- From: Uli Kusterer <email@hidden>
- Date: Tue, 1 Jun 2010 16:02:44 +0200
On 01.06.2010, at 12:03, Joshua Tucker wrote:
> has anyone got any sample code for a POST request for interfacing with an API such as the DirectAdmin API?
This is the only POST request code I have. Then again, it's all I've ever needed:
http://github.com/uliwitness/UliKit/blob/master/NSURLConnection+PostDictionary.m
Note that it has a fixed "boundary" string. The code is on Github, so if you want to submit code that makes sure the boundary string is unique and doesn't occur in the provided data, it'd be appreciated. :-)
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.masters-of-the-void.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden