Re: POST request on iPhone
Re: POST request on iPhone
- Subject: Re: POST request on iPhone
- From: Alastair Houghton <email@hidden>
- Date: Tue, 1 Jun 2010 13:38:31 +0100
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 the headers as you see fit. As for base64, Google is your friend (I suggest "cocoa base64").
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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