cURL / Mailing Lists / curl-library / Single Mail


Re: Send a message via POST in Java

From: Daniel Stenberg <>
Date: Mon, 7 May 2007 16:04:30 +0200 (CEST)

On Mon, 7 May 2007, Víctor Rodríguez wrote:

> I am trying to send via POST a message using the java library libcurl.
> I must send an xml and authenticate a user to a server but the xml seems not
> to be sended with the message (I am able to authenticate the user).
> Is there any example as a guide to do that?

The java binding for libcurl is very little used and thus I doubt there is
much documentation or examples available.

However, the underlying functionality is the same no matter what binding your
using so you can most likely check out any C-using application and see how
POSTs are sent to get an idea of how that would be done with java as well. If
you end up finding or writing any interesting docs for the java binding, let
us know...

Is the java binding actually in a useful state when using with a recent

  Commercial curl and libcurl Technical Support:
Received on 2007-05-07