Created
October 31, 2024 17:29
-
-
Save kevinhooke/c6931622b2b0ef15d962bb9f43b0d3cf to your computer and use it in GitHub Desktop.
curl with basic auth, show headers
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
#show response headers | |
curl -I some-url | |
#with basic auth | |
curl -u 'userid:password' some-url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment