home.


Tagged: unix-curl


Unix: curl

To use curl to simulate a GET request with custom headers, you use this.

Note a normal header would be “One: Thing”. But if you’re passing no data, it’s “One;”

 curl -k --header "One;" --header "Two;" --header "Three;" https://your.url
unix-curl unix

Page 1 of 1