CURLOPT_HTTPPOST (3) Linux Manual Page
CURLOPT_HTTPPOST – specify the multipart formpost content Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HTTPPOST, struct curl_httppost *formpost);DescriptionTells 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 pointer to a linked list of curl_httppost structs as parameter. The easiest…
