Skip to content

Instantly share code, notes, and snippets.

@TomCan
Created February 4, 2019 13:31
Show Gist options
  • Select an option

  • Save TomCan/c77a71742d37643f51d0ee8a63b12947 to your computer and use it in GitHub Desktop.

Select an option

Save TomCan/c77a71742d37643f51d0ee8a63b12947 to your computer and use it in GitHub Desktop.
Use curl to test URL's before Go-Live
# show only response headers
# -I
# use 1.2.3.4 as the IP address when connecting to www.tom.be on port 443
# --resolve www.tom.be:443:1.2.3.4 \
# actual URL to test
# https://www.tom.be/this-is-a-test/
curl -I --resolve www.tom.be:443:1.2.3.4 https://www.tom.be/this-is-a-test/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment