• 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: getting contents of URL that requires username/password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting contents of URL that requires username/password


  • Subject: Re: getting contents of URL that requires username/password
  • From: Raymond Fischer <email@hidden>
  • Date: Mon, 10 Feb 2003 15:29:36 -0800

On Monday, February 10, 2003, at 12:45 PM, Salanki Benjamin wrote:
I want to use initWithContentsOfURL to load the contents of a webpage into a string. Now the page that contains the info I want to parse is password protected. Is there a way to authenticate myself through my app programmatically so that the page can be loaded?

The standard (if obscure) method of including userid/password information into
a URL is http://userid:email@hidden/...
It's probably in some RFC and probably you should verify that my memory is
correct.

----
Ray Fischer
Adobe Systems
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >getting contents of URL that requires username/password (From: Salánki Benjámin <email@hidden>)

  • Prev by Date: Re: bundle version number troubles
  • Next by Date: Re: text formats for documenting object relationships?
  • Previous by thread: getting contents of URL that requires username/password
  • Next by thread: update re: BAD_ACCESS ...
  • Index(es):
    • Date
    • Thread