hisoka Posted July 25, 2015 Share Posted July 25, 2015 when I use this curl command in my windows cmd : curl --user username:password -k https://www.example.com I got the content of the website in the cmd with html like <div> and <br> however when I refreshed the home page of the website and looked at it , I noticed that I am not logged in Why ? what is the problem? Link to comment Share on other sites More sharing options...
Ingolme Posted July 25, 2015 Share Posted July 25, 2015 That username and password is for HTTP authentication, which is not the same as logging into a website. The server you are trying to log into does not use HTTP authentication. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now