Use this script to curl a page and get a response.
Example: ./curl_something.sh
Enter the url for the site:
Enter the number of times to curl the page:
Bonus: if there's a git sha on a page then you can use wget and xmllint to get and parse the sha. Nice for testing zero downtime deployments.
#Install xmllint on Ubuntu #Should be pre-installed on MacOS apt-get install libxml2-utils
Enjoy!