curl-users
Re: HTTP Post & Tomcat J2EE Server
Date: Tue, 23 Nov 2004 15:29:49 +0100 (CET)
On Mon, 22 Nov 2004, akede wrote:
> The wired thing is that when I read the whole result I get from a curl
> request to the server (result is the login page) and reproduce the login
> form I can submit the form to the Tomcat server and everything is fine.
>
> When I try to send the POST via the curl -d option the server doesn't really
> understand what I'm sending and reacts like I would have pressed the
> "return" key on my keyboard instead of clicking the submit image button.
>
> Someone understood what I'm saying ;-/? Any ideas?
You can "submit the form" and it works, but you cannot "send the POST" ?
What's the difference between those two?
Can't you just show us the form HTML you want to use curl to submit and also
what curl command line(s) you've used?
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-11-23