C / C ++ Library for Basic Authentication HTTPS Client

Do you recommend any good library or online examples for implementing an HTTPS client that can connect to a website using basic authentication? This is intended to work on Linux servers.

Any pointers help.

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

+3
source share
3 answers

libcurl supports both HTTPS and HTTP Basic Authentication. There are many sample code online.

libcurl. , .

+5

libcurl

URL-, FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE, LDAP LDAPS. libcurl HTTPS-, HTTP POST, HTTP PUT, FTP-, , HTTP, -, cookie, + , , HTTP- .

+2

I used libcurl and can recommend it.

+1
source

Source: https://habr.com/ru/post/1724043/


All Articles