Difference between revisions of "Curl -Is"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  curl -Is https://yourdomain.com/ | [[head -1]]
+
  curl -I --head Show document info only
  
 +
[[curl -I]]s https://yourdomain.com/ | [[head -1]]
 +
 +
[[curl -I]]s https://yourdomain.com/ | [[head -1]]
 +
[[HTTP/1.1]] [[301]] [[Moved Permanentl]]
 +
 +
[[curl]] -Is https://google.com | head -1
 +
[[HTTP/2]] 301
 +
 +
[[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 ==
 
* {{cURL}}
 
* {{cURL}}
 +
* {{HTTPS}}
  
 
[[Category:cURL]]
 
[[Category:cURL]]

Latest revision as of 07:04, 23 February 2024

Advertising: