On 2/20/23 15:25, Gavin Henry via curl-library wrote:
If I do the usual, then all is good: > > headers = curl_slist_append(headers, "Authorization: Bearer >
xxxxxx"); > Yes, that just forces it!
I must be missing setting another curl_easy_setopt... >
In the absence of your code listing and lack of additional info, I can
only try to guess...
- Protocol is http(s)
. You do not set CURLOPT_HTTPAUTH
(https://curl.se/libcurl/c/CURLOPT_HTTPAUTH.html). This is probably what
you need.
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html