On Fri, 2 Mar 2018, John Hascall wrote:
Has any thought been given to the possibility of something along these
lines:
curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_BEARER);
curl_easy_setopt(curl, CURLOPT_BEARER_TOKEN, token);
You mean like @LEW21 made this PR?
Has any thought been given to the possibility of something along these
lines:
curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_BEARER);
curl_easy_setopt(curl, CURLOPT_BEARER_TOKEN, token);
*or*
curl_easy_setopt(curl, CURLOPT_PASSWORD, token);
because faffing around in the struct