CURLOPT_REFERER (3) Linux Manual Page
CURLOPT_REFERER – set the HTTP referer header Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_REFERER, char *where); DescriptionPass a pointer to a zero terminated string as parameter. It will be used to set the Referer: header in the http request sent to the remote server. This can be used to fool servers or scripts. You can also…
