curl-library
Re: Send a message via POST in Java
From: Víctor Rodríguez <victor_at_httpcomunicacio.com>
Date: Mon, 07 May 2007 16:21:45 +0200
The problem is that I don't know how to impelement a linked list of post entries to the option CURL.OPT_HTTPPOST setted in the CurlGlue object. Or am I in a mistake using this option?
I will write a post if I get success with java binding.
thanks,
Daniel Stenberg escribió:
Date: Mon, 07 May 2007 16:21:45 +0200
The problem is that I don't know how to impelement a linked list of post entries to the option CURL.OPT_HTTPPOST setted in the CurlGlue object. Or am I in a mistake using this option?
I will write a post if I get success with java binding.
thanks,
Víctor Rodríguez
httpcomunicació
Zaragoza, 50 - Barcelona 08006 - (Mapa)
Tel. 932 722 300 - Fax 932 722 301
victor@httpcomunicacio.com
www.httpcomunicacio.com
httpcomunicació
Zaragoza, 50 - Barcelona 08006 - (Mapa)
Tel. 932 722 300 - Fax 932 722 301
victor@httpcomunicacio.com
www.httpcomunicacio.com
Daniel Stenberg escribió:
On Mon, 7 May 2007, Víctor Rodríguez wrote:Received on 2007-05-07
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 libcurl?