curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: CURLOPT_XOAUTH2_BEARER use?

From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 20 Feb 2023 19:16:12 -0800

On Tue, Feb 21, 2023 at 03:01:53AM +0000, Matthew Bobowski via curl-library wrote:
> c = curl_easy_setopt(pCurl, CURLOPT_HTTPAUTH, CURLAUTH_BEARER);

Don't forget to cast this to a long; this makes a difference in some
environments.

Dan
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-02-21