Search…
⌃K
README
How to read this book
The cURL project
Network and protocols
Install curl
Source code
Build curl
Command line basics
Using curl
HTTP with curl
FTP with curl
Using libcurl
Header files
Easy handle
Drive transfers
Connection reuse
Callbacks
Cleanup
Name resolving
Proxies
Post transfer info
Share data between handles
URL API
WebSocket
API compatibility
--libcurl
Global initialization
multi-threading
curl easy options
CURLcode return codes
Verbose operations
Caches
libcurl examples
Get a simple HTTP page
Get a response into memory
Submit a login form over HTTP
Get an FTP directory listing
Non-blocking HTTP form-post
for C++ programmers
HTTP with libcurl
Bindings
libcurl internals
Index
Powered By GitBook

libcurl examples

The native API for libcurl is in C so this chapter is focused on examples written in C. But since many language bindings for libcurl are thin, they usually expose more or less the same functions and thus they can still be interesting and educational for users of other languages, too.
  • ​Get a simple HTTP page​
  • ​Get a page in memory​
  • ​Submit a login form over HTTP​
  • ​Get an FTP directory listing​
  • ​Non-blocking HTTP form-post​
Previous
Caches
Next
Get a simple HTTP page
Last modified 1yr ago
Export as PDF
Copy link
Edit on GitHub