Difference between revisions of "Curl -Is"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 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]]
+
  [[curl -I]] --head Show document info only
 +
 
 +
curl -I localhost:8332
 +
[[HTTP/1.1]] [[405 Method Not Allowed]]
 +
 
 +
== Related ==
 +
[[curl -s]]
  
 
== See also ==
 
== See also ==

Latest revision as of 07:04, 23 February 2024

Advertising: