[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luacurl HTTPPOST
- From: Jeff Pohlmeyer <yetanothergeek@...>
- Date: Tue, 10 Mar 2009 18:20:20 -0500
On Mar 10, 2009, email@example.com wrote:
> How to set or format the params to curl.OPT_HTTPPOST ?
>From what I know about libcurl, the CURLOPT_HTTPPOST option
expects a linked-list of curl_httppost structs created by the
curl_formadd() function, but it looks like luacurl doesn't
implement this. You should still be able to do "normal"
(www-form-urlencoded) posts using curl.OPT_POSTFIELDS,
but not for multipart/formdata posts.
It does look like the "other" libcurl lua binding from:
has support for curl_formadd, but i haven't tried it.