Question

Do you recommend any good library or examples online for implementing an HTTPS client that can connect to a website using basic authentication? This is meant to run in linux servers.

Any pointers help.

Update: Question about the unanimous libcurl - does it come bundled by default in major distributions like Debian, Ubuntu, Gentoo, Slackware, RedHat and Arch?

Was it helpful?

Solution

libcurl supports both HTTPS and HTTP Basic Authentication. There's plenty of example code online.

All of the distributions you mention have libcurl packaged. It is not absolutely certain to be installed, but it is very common.

OTHER TIPS

libcurl

A free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE, LDAP and LDAPS. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more.

I have used libcurl and can recommend it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top