struct curl_slist *headerlist=NULL;
static const char buf[] = "Expect:"
headerlist = curl_slist_append(headerlist, buf);
官方说明:Pass a pointer to a linked list of HTTP headers to pass to the server and/or proxy in your HTTP request.
curl_formadd
CURLOPT_HTTPPOST explained:CURLOPT_HTTPPOST - specify the multipart formpost content
原文:https://www.cnblogs.com/liuzhenbo/p/11042515.html