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: Ray Satiro via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 24 May 2022 03:16:46 -0400

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
Received on 2022-05-24