cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
newbie login question
From: Horvath Adam <arunaseva_at_gmail.com>
Date: Thu, 12 Mar 2009 13:39:22 +0100
I have a CURL question.
I created a login form. I like to fill this form and send with curl from
bash curl->login.php->outer authentication domain->redirect.php->bash curl
http://mydomain/login.php (my page):
<form method="post" action="https://outerdomain/auth.aspx">
... curl fill "LOGINNAME" and "PWD" fields and press the "Login" button and
redirect.php output authentication result (success/no success)
curl have to get back this output and print to command line
First, I would be happy, if I could send the login form and so on
I tried this:
curl -L -e -d "LOGINNAME=name&PWD=password&sendbtn=Login"
Can you help me?
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info