Difference between revisions of "Curl -Is"

From wikieduonline
Jump to navigation Jump to search
 
(11 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 ==
 +
* <code>[[curl -s]]</code>
  
 
== See also ==
 
== See also ==
 
* {{cURL}}
 
* {{cURL}}
 +
* {{HTTPS}}
  
[[Category:CURL]]
+
[[Category:cURL]]

Latest revision as of 12:27, 19 November 2024

Advertising: