cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can you combine curl_formadd sections?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 27 Mar 2011 09:36:55 +0200 (CEST)

On Sat, 26 Mar 2011, richardcavell_at_mail.com wrote:

> Hi everyone. If I have:
>
> curl_formadd (&firsptr, &lastptr, CURLFORM_PTRNAME, "action",
> CULRFORM_PTRCONTENTS, "login", CURLFORM_END);
>
> curl_formadd (&firsptr, &lastptr, CURLFORM_PTRNAME, "format",
> CULRFORM_PTRCONTENTS, "xml", CURLFORM_END);
>
> Is it possible to combine the two calls?

So what exactly is the result you want? What does "combine" mean in this
context?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-27