Created
September 22, 2017 20:18
-
-
Save albovieira/a6017688c2355c9c0cb03a09b103efd4 to your computer and use it in GitHub Desktop.
loop_request
This file contains 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
#!/bin/sh | |
count=0 | |
url='http://165.227.125.140:8000/api/v1/events/?format=json&limit=6' | |
while [ $count -lt 1000000 ] | |
do | |
curl -X GET \ | |
$url \ | |
-H 'cache-control: no-cache' \ | |
-H 'content-type: application/json' \ | |
-H 'postman-token: 22da3ccf-34d5-ea7e-7da8-e8bc18504b89' | |
count=`expr $count + 1` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment