Hey,
has anyone got any sample code for a POST request for interfacing with an API
such as the DirectAdmin API?
Ideally, something that works like this in Obj-C (example is in PHP) would be
great: http://www.directadmin.com/sample_api.txt. The API documentation is at
On 1 Jun 2010, at 11:03, Joshua Tucker wrote:
has anyone got any sample code for a POST request for interfacing with an API
such as the DirectAdmin API?
Ideally, something that works like this in Obj-C (example is in PHP) would be
great: http://www.directadmin.com/sample_api.txt. The API
On 1 Jun 2010, at 12:59, Joshua Tucker wrote:
I've contacted the DirectAdmin technical support team and they said I need to
send the username:password encrypted as base64 in the HTTP headers.
Does anyone know of the easiest way to put this in the HTTP headers?
NSURLRequest lets you set
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:
I'd written a sample app, here:
http://www.letscocoa.com/2010/02/16/mysqlphp-iphone-app/
Thanks,
Chaitanya Pandit
Expersis Software Inc.
On Jun 1, 2010, at 3:33 PM, Joshua Tucker wrote:
Hey,
has anyone got any sample code for a POST request for interfacing with an API
such as the
On Tue, Jun 1, 2010 at 6:03 AM, Joshua Tucker
joshualeetuc...@googlemail.com wrote:
has anyone got any sample code for a POST request for interfacing with an API
such as the DirectAdmin API?
I believe the usual StackOverflow answer is to consider
ASIHTTPRequest, which gives a somewhat