Created
July 9, 2020 03:39
-
-
Save jsrimr/d90c44e2b883f5b3a5b8645555e84b42 to your computer and use it in GitHub Desktop.
for문 순회하며 curl Post 하는 shell script
This file contains hidden or 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
| 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