Name
easy:SetOpt_HTTPPost -- specify the multipart formpost content
Synopsis
easy:SetOpt_HTTPPost(formpost)
Function
Tells libcurl you want a multipart/formdata HTTP POST to be made and you instruct what data to pass on to the server in the formpost argument. Pass a HTTP post object as parameter. The easiest way to create such an object, is to use hurl.Form() as documented.

Using POST with HTTP 1.1 implies the use of a "Expect: 100-continue" header. You can disable this header with #CURLOPT_HTTPHEADER.

When setting #CURLOPT_HTTPPOST, it will automatically set #CURLOPT_NOBODY to 0.

Inputs
formpost
input value

Show TOC