Perform HTTP Basic Authentication with HTTP headers and libcurl
Problem Came across an interesting problem with curl.For curl to perform HTTP Basic Authentication, it is easy to pass –user to the curl command, but harder with libcurl.Suspect there is an attribute that can be set, but I monitor a multitude of web sites through some perl scripts and libcurl. I did n’t want to [...]