cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Send a message via POST in Java

From: Víctor Rodríguez <victor_at_httpcomunicacio.com>
Date: Mon, 07 May 2007 17:01:51 +0200
Daniel Stenberg escribió:
On Mon, 7 May 2007, Víctor Rodríguez wrote:

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?

Please don't top-post, they make it hard to follow this thread.

You need that option if you truly want a multipart formpost, yes, but is that really what you need?

If it is, then you need to figure out a way to create the linked list which is usually done with curl_formadd().

If it isn't, you should use CURLOPT_POSTFIELDS instead.

Sorry,

Is it possible to see an implementation of a linked list in c? Maybe I have some ideas with a nativa code. The problem is that the function to set the options only accepts a String, an int and a CurlWrite object, but it doesn't accept a linked list...

Víctor Rodríguez


httpcomunicació

Zaragoza, 50 - Barcelona 08006 - (Mapa)
Tel. 932 722 300 - Fax 932 722 301

victor@httpcomunicacio.com
www.httpcomunicacio.com
Received on 2007-05-07