Debugging with Curl

For years I used --header "host: foo.bar" to make curl do the right thing when testing.

Turns out there is a better way

curl -svo /dev/null https://www.foo.bar --resolve www.foo.bar:443:127.0.0.1

Comments

Popular posts from this blog

using t1n1wall, opnsense or pfsense on Google Compute Engine GCE

nginx decode base64 url for use with imgproxy

Resol VBUS success