A video tutorials series on how to write Internet applications using libcurl with Daniel Stenberg, founder and lead developer of the curl project.
Each episode has a title and focused purpose. The source code used and discussed in each episode is made available here as well as extra links and useful materials.
All code is written using C. A reasonably modern libcurl version is assumed.
Each episode is 10-15 minutes long, only occasionally longer.
setup ▷ a makefile that builds our code (using Linux and gcc)
receive data ▷ by using a write callback
head do HTTP HEAD and something about HTTP methods
more protocols make the client download HTTP and FTP too (and limit protocols)
certificate verification for HTTPS clients
HTTP POST
HTTP PUT - with read callback
Modifying the HTTP request headers
debug callback
Retrieving the HTTP response code after a successful transfer
multi-part formpost
use cookies and login to a site with POST
different HTTP versions
parse URLs with libcurl
to-multi - convert the simplest/ easy interface program to using the multi interface
do two transfers in parallel with the multi API
do many parallel transfers and add new ones before all the existing are done
feed receive data into a content parser library
write a multi-threaded application using libcurl in multiple threads
use the share API to share data between multiple easy handles
Each episode should be short and focused on the topic only.
Episodes will be named, not numbered, so that we can insert new ones in between older ones if we think that suits the narrative.
If you have additional ideas or thoughts of more topics and angles to cover, please file an issue and explain!