cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_HTTPPOST + CURLOPT_POSTFIELDS

From: Eugeny Melamud <Eugeny.Melamud_at_lanit-tercom.com>
Date: Thu, 22 Dec 2011 22:40:17 +0400

Hi all,

As I find out I can't use both CURLOPT_HTTPPOST, CURLOPT_POSTFIELDS so if I'm sending multipart message with
                curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
how can I pass params to server (?name1=value1&name2=value2...)?

Thank you in advance?

Kind Regards,
  Eugeny

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