curl-users
Re: login does not pass through the POST request
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 Jul 2011 11:52:07 +0200 (CEST)
Date: Thu, 14 Jul 2011 11:52:07 +0200 (CEST)
On Thu, 14 Jul 2011, Pourriels wrote:
> *curl.exe --data "login=mylogin&password=mypassword&Button_DoLogin=Login"
> www.centralgreen.com.sg/login.php?ccsForm=Login*
> As you can see in the result of the page, the password is passed in the
> form, but not the login. Could it be possible than the ccs script at the
> beginning modifies something?
Use firebug or livehttpheaders etc to see what your browser actually sends in
this case.
Also, you may need to follow redirects and enable cookies.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-07-14