Skip to content

Instantly share code, notes, and snippets.

@kevinhooke
Created October 31, 2024 17:29
Show Gist options
  • Save kevinhooke/c6931622b2b0ef15d962bb9f43b0d3cf to your computer and use it in GitHub Desktop.
Save kevinhooke/c6931622b2b0ef15d962bb9f43b0d3cf to your computer and use it in GitHub Desktop.
curl with basic auth, show headers
#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