I trying to access the following site with cURL. (https://www.fleetagent.be)
I have cURL configured with the following switches
-L -k --proxy [username:password]
I get the following error. What switches do need to add to get cURL to get the website?
The url https://www.fleetagent.be is redirected to https://www.fleetagent.be/portal/pls/portal. Somehow the website is authenticating it self for the redirected portal. how can i simulate this behavior with cURL?
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>401 Unauthorized</TITLE> </HEAD><BODY> <H1>Unauthorized</H1> This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.<P> <P>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. </BODY></HTML>