Re: getting contents of URL that requires username/password
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.