May 2017
Beginner
552 pages
28h 47m
English
The curl command's -u option performs HTTP or FTP authentication.
The username and password can be specified using -u username:password:
$ curl -u user:pass http://test_auth.com
If you prefer to be prompted for the password, provide only a username:
$ curl -u user http://test_auth.com