• 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: RESTful API's - Easy way to interact?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: RESTful API's - Easy way to interact?
      • From: Jeremy <email@hidden>
References: 
 >RESTful API's - Easy way to interact? (From: Jeremy <email@hidden>)

  • Prev by Date: Re: How can i get current system time?
  • Next by Date: Re: super respondsToSelector
  • Previous by thread: RESTful API's - Easy way to interact?
  • Next by thread: Re: RESTful API's - Easy way to interact?
  • Index(es):
    • Date
    • Thread