cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_HTTPPOST + CURLOPT_POSTFIELDS

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 22 Dec 2011 15:13:05 -0600

On Thu, Dec 22, 2011 at 12:40 PM, Eugeny Melamud wrote:

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

Have you tried appending them to the URL?

 - Jeff

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