cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can you combine curl_formadd sections?

From: <richardcavell_at_mail.com>
Date: Sun, 27 Mar 2011 04:51:16 -0400

>
> 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?

I mean, can I add both items to the form using one function call, or am
I compelled to call it separately for each pair?

Richard

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