Skip to content

Instantly share code, notes, and snippets.

@jsrimr
Created July 9, 2020 03:39
Show Gist options
  • Select an option

  • Save jsrimr/d90c44e2b883f5b3a5b8645555e84b42 to your computer and use it in GitHub Desktop.

Select an option

Save jsrimr/d90c44e2b883f5b3a5b8645555e84b42 to your computer and use it in GitHub Desktop.
for문 순회하며 curl Post 하는 shell script
while true
do
for ((i=52;i<100;i++));
do
curl -X POST -H "Content-Type: application/json" -d @data.json 10.128.0.22:8080/logs/cloa/$i &
done
sleep 3
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment