• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: POST request on iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >POST request on iPhone (From: Joshua Tucker <email@hidden>)

  • Prev by Date: IKImageBrowser and non-square cells
  • Next by Date: Simulating app termination
  • Previous by thread: Re: POST request on iPhone
  • Next by thread: Re: POST request on iPhone
  • Index(es):
    • Date
    • Thread