CURLOPT_HTTPHEADER (3) Linux Manual Page
CURLOPT_HTTPHEADER – set custom HTTP headers Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HTTPHEADER, struct curl_slist *headers); DescriptionPass a pointer to a linked list of HTTP headers to pass to the server and/or proxy in your HTTP request. The same list can be used for both host and proxy requests! The linked list should be a fully…
