cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: POST to Tomcat server

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Wed, 19 Oct 2005 04:32:36 -0500

Are you escaping anything that needs it?? Are you in a position to be able
to do a network dump while trying both methods?? That's really the best way
to be absolutely *sure* your http-post is doing the same as the command line
tool.

Ralph Mitchell

On 10/19/05, Daniel Stenberg <daniel-curl_at_haxx.se> wrote:
>
> On Wed, 19 Oct 2005, B H wrote:
>
> > Im trying to do a Simple form post. Using the example programs..
> http-post.c
> >
> > when running http-post i get this.
> >
> > HTTP Status 500 -
> >
> > type Exception report
>
> I would say that this indicates a problem in the server end. After all, it
> did
> say: "The server encountered an internal error"
>
> The command line tool does not make an identical request like the
> http-post
> example does, but you could of course attempt to alter the http-post code
> to
> become more similar and perhaps that can work around this.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2005-10-19