Last active
August 29, 2017 17:19
-
-
Save spenserpothier/2169c264f9f2bb28fa27edc42df57daa to your computer and use it in GitHub Desktop.
cURL with username/password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -k -X POST --netrc-file passfile https://url.with.auth.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine <https://url.with.auh.com> login <USERNAME> password <PASSWORD> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment