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: Turning two command-line curl calls into c++, using libcurl

From: J via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 24 May 2022 11:01:15 -0400

Ray, thank you very much for the info, I didn't know that was a possibility.
I tried it and was able to extract the necessary libcurl calls to succeed.
Thank you again

On Tue, 24 May 2022 at 03:17, Ray Satiro via curl-library <
curl-library_at_lists.haxx.se> wrote:

> On 5/23/2022 11:15 AM, J via curl-library wrote:
> > I'm trying to turn a (working) command-line call to curl into an
> > equivalent c++ program.
>
>
> Use option --libcurl filename.c and the curl tool will generate C code
> for libcurl. [1]
>
>
> [1]: https://curl.se/docs/manpage.html#--libcurl
>
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-05-24