Difference between revisions of "Curl -Is"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
curl -I --head Show document info only
 +
 
  [[curl -I]]s https://yourdomain.com/ | [[head -1]]
 
  [[curl -I]]s https://yourdomain.com/ | [[head -1]]
  
Line 8: Line 10:
 
  [[HTTP/2]] 301
 
  [[HTTP/2]] 301
  
 +
[[curl -I]] --head Show document info only
 +
 +
curl -I localhost:8332
 +
[[HTTP/1.1]] [[405 Method Not Allowed]]
 +
 +
== Related ==
 +
* <code>[[curl -s]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 12:27, 19 November 2024

Advertising: