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: libcurl in C++ Access Denied

From: Geoff Beier via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 29 Sep 2022 17:10:22 -0400

Hi,

> On Sep 29, 2022, at 4:45 PM, Jeremy via curl-library <curl-library_at_lists.haxx.se> wrote:
>
> This works:
>
> curl -u "username:password" https://api.somewhere.com/something/
>

If you run

curl --libcurl demo.c -u "username:password" https://api.somewhere.com/something/

does the resulting source code also work? And if so, does that help you see what you're missing?

Best,

Geoff
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-09-29