• 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: Jeremy <email@hidden>
  • Date: Wed, 4 Jun 2008 20:19:34 -0400

Actually,

After reading more about the RESTful API that they are using, it looks like it requires Base64. Is there any C library that is free to use and allows this functionality?

Jeremy
"I have often felt that programming is an art form, whose real value can only be appreciated by another versed in the same arcane art; there are lovely gems and brilliant coups hidden from human view and admiration, sometimes forever, by the very nature of the process. You can learn a lot about an individual just by reading through his code, even in hexadecimal." - Unknown


On May 31, 2008, at 2:50 AM, Jens Alfke wrote:


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

_______________________________________________

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: Joseph Heck <email@hidden>
  • Prev by Date: Re: invoking quicklook via code
  • Next by Date: Re: RESTful API's - Easy way to interact?
  • Previous by thread: no copy/paste - responder chain problem?
  • Next by thread: Re: RESTful API's - Easy way to interact?
  • Index(es):
    • Date
    • Thread