curl-users
(no subject)
Date: Tue, 8 May 2007 12:46:07 +0100 (BST)
Hi,
I am new to curl. I want to login to some page and save cookies and again use those cookies.
I was trying to use wget before. Using wget I can login to the page but can't save cookies. Now I am trying to use curl, but facing problems with post-data.
The login was sucessful with wget:
wget --load-cookies cookies --save-cookies cookies --no-check-certificate --post-data="redirect=https%3A%2F%2Frhn.redhat.com%2Frhn%2FYourRhn.do&username=user&password=password&_flowId=legacy-login-flow&_eventId_submit=Log In"
https://www.redhat.com/wapps/sso/rhn/login.html
Now I m using curl
curl --cookie cookies cookie-jar cookies --insecure --data="redirect=https%3A%2F%2Frhn.redhat.com%2Frhn%2FYourRhn.do&username=user&password=password&_flowId=legacy-login-flow&_eventId_submit=Log In"
https://www.redhat.com/wapps/sso/rhn/login.html
Can anyone help me out in curl post-data.
---------------------------------
Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
Received on 2007-05-08