Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.