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
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