$ curl -I www.google.com HTTP/1.1 200 OK ...
$ curl -u user:pass https://www.site.com
curl https://user:[email protected]