Re: RESTful API's - Easy way to interact?
Re: RESTful API's - Easy way to interact?
- Subject: Re: RESTful API's - Easy way to interact?
- From: Jens Alfke <email@hidden>
- Date: Fri, 30 May 2008 23:50:37 -0700
On 30 May '08, at 7:16 PM, Jeremy wrote:
Now, I need to figure out how to use set GET, but I think that is
working. The problem and it is crashing is because it is being
encoded by every other method.
What? That sentence was incomprehensible. Apologies if you're not a
native English speaker, but if we can't understand your descriptions
we can't help you...
Here is an example in "pseudo code":
'Basic ' + Base64.encode(username + ':' + password)
Don't try to roll your own authentication code. NSURLConnection
already supports authentication, including digest mode and Keychain
integration. Read the documentation on the delegate methods, including
the authentication-related ones.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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