Created
February 4, 2019 13:31
-
-
Save TomCan/c77a71742d37643f51d0ee8a63b12947 to your computer and use it in GitHub Desktop.
Use curl to test URL's before Go-Live
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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