An example in C using libcurl.