Fabian Sauter
Fabian Sauter
Please try the following: ```c++ Url url{"https://example.com"}; #if CPR_LIBCURL_VERSION_NUM >= 0x073D00 Response response = cpr::Get(url, Bearer{"the_token"}); #else Response response = cpr::Get(url, Header{{"Authorization", "Bearer the_token"}}); #endif ``` Since you are using...
Docs: https://github.com/libcpr/docs/pull/44
Currently still WIP since something seams to be broken when using this functionality when cpr is used via fetch content e.g. in our example repo. Unit tests as well as...
I was trying to look into this and failed to obtain a bearer token for the Twitch API. Can you provide a link to some kind of docs detailing how...
As I understand it, a better "unbuffered" mode that invokes a callback for every event received is desired here?
Right now this feature is not planed, but you are more than welcome to create PR for it.
Thanks for the suggestion. Would you like to create a PR for it?
Could you please try disabling `zlib` for curl via `-DCURL_ZLIB=OFF`? Could you provide a bit if information on how to install NDK on Linux? Then I can have a look...
Ah, linking to `stdc++fs` was broken and is already fixed with the latest version on master. Could you please try master instead of the 1.10.5 release?
Ref: https://github.com/libcpr/cpr/pull/987