Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 350 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 350 Bytes

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.