Difference between revisions of "Linux command: curl"

From RHS Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Examples:
 
Examples:
 
[https://git.herrerosolis.com/snippets/15 Curl CheatSheet]
 
[https://git.herrerosolis.com/snippets/15 Curl CheatSheet]
  <nowiki># Set header HOST
+
== Set header HOST ==
curl -H "HOST:52.212.209.140" http://52.212.209.140/ -0 -v</nowiki>
+
  <nowiki>curl -H "HOST:52.212.209.140" http://52.212.209.140/ -0 -v</nowiki>

Revision as of 13:52, 16 November 2018

Examples: Curl CheatSheet

Set header HOST

curl -H "HOST:52.212.209.140" http://52.212.209.140/ -0 -v