Skip to content

lettergram/curl_command_to_file_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cURL --libcurl Example

One thing I never realized, was I could use the command:

$ curl http://austingwalters.com --libcurl austingwalters.c

To export a curl call to a c file, which can then be compiled by adding '-lcurl':

$ gcc austingwalters.c -lcurl

This has helped me create several funcions which call APIs in C within minutes.

About

cURL command to c file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published