in reply to lwp-request

Do you have the correct name and password for that site?

If this is for a script you can use the form of a url that goes: https://name:password@www.whatever.com/and/some.html to get the name and password in the URL. (You can also pass then as command-line arguments with -C.)

Replies are listed 'Best First'.
RE: Re: lwp-request
by Anonymous Monk on Sep 28, 2000 at 17:12 UTC
    Thank you very much tilly. I appreciate your help. Let me explain you a bit more. I have the right name & password. But, for some reason when I require this /opt/perl/bin/lwp-request 'http://www.perlmonks.org' I have no problems. I have probelms when I do: /opt/perl/bin/lwp-request 'https://ri2.rois.com/cgi-bin/GetSessionId.cgi?cmd=get_session_id&uid=111111&uip=1.1.1.1&gid=nlbj2' Also, I tried the way that you told me & I get the same error messages. For your info, if I try this 'https://ri2.rois.com/cgi-bin/GetSessionId.cgi?cmd=get_session_id&uid=111111&uip=1.1.1.1&gid=nlbj2' from my browser I have no problems ... Thank you very much!!
      Then I suspect the difference is http vs https. Do you have Net::SSLeay installed?

      A minor note. Should you need a proxy, you will probably want https_proxy set in your environment.

        Thanks a lot tilly. I think that we are approching to the problem. I have Net::SSLeay installed. Could you tell me more about https_proxy set in my environment ( where I have to set up ? ) Thanks a lot!!