Display HTTP response headers

From wikieduonline
Revision as of 10:09, 22 January 2020 by Welcome (talk | contribs) (→‎See also)
Jump to navigation Jump to search
  • Display HTTP response headers:
curl -sD - -o /dev/null http://example.com[1]
-s Avoid showing progress bar
-D Dump headers to a file, but - sends it to stdout
-o /dev/null Ignore response body


See also

  • https://stackoverflow.com/questions/3252851/how-to-display-request-headers-with-command-line-curl
  • Advertising: