• 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: Sat, 31 May 2008 11:04:20 -0400

Jens,

Thanks for that bit. And I am a native english speaker. It was late when I typed that. :D But Thanks for NSURLConnection suggestion and will look into it.

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: Peter Burtis <email@hidden>
References: 
 >RESTful API's - Easy way to interact? (From: Jeremy <email@hidden>)
 >Re: RESTful API's - Easy way to interact? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Opening column for edit after adding to tree controller?
  • Next by Date: Re: runloops and NSURLConnection
  • Previous by thread: Re: RESTful API's - Easy way to interact?
  • Next by thread: Re: RESTful API's - Easy way to interact?
  • Index(es):
    • Date
    • Thread