cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: can't get POST to work - please help

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 12 Nov 2004 22:51:07 +0100 (CET)

On Fri, 12 Nov 2004, John Thomas wrote:

> $ curl "-duser=bob&password=fish&switch=log%20In"

If that is your true user and login, I hope you've changed by now.

> Using my web browser, this returns a page identical to the original page
> with an 'ERROR: Login failed' message included. With cURL there is no
> 'ERROR: Login failed' message, so it seems that it's not even trying to log
> me in.

Since you used -v you should already be able to tell exactly what curl sent to
the server. If you edit out sensitive data and show us, we might be able to
say if it looks OK or not.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-12