How to use HTTP Basic authentication with cURL

To access sites that use HTTP Basic authentication with curl, use command

Or

If you don’t specify password, curl will promt for password.

See curl

Leave a Reply

Your email address will not be published. Required fields are marked *