Skip to content

Instantly share code, notes, and snippets.

@codingoutloud
Created September 7, 2017 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codingoutloud/7933cbe3454b7306d25e025cc09a1782 to your computer and use it in GitHub Desktop.
Save codingoutloud/7933cbe3454b7306d25e025cc09a1782 to your computer and use it in GitHub Desktop.
Usage: http-get-repeatedly.sh [number of times to repeat] -- no param means once.
#!/bin/bash
URL="https://prod-24.southcentralus.logic.azure.com:443/workflows/62d71dadbb0b451bb8de9f27c9e51f93/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=8HpJbLEcF078jtVgBZoMpWA65sZDI8_nowFVINX8HK0"
for i in `seq 1 $1`;
do
echo $i
curl "$URL"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment