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 (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 arch...@mail-archive.com

Reply via email to