-
-
Save b1a9id/7e11c2e79b9987010e14e8bc63543ea9 to your computer and use it in GitHub Desktop.
asyncのrequest.sh
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/bash | |
number=1 | |
while true; | |
do | |
curl -X POST -H "Content-Type: application/json" -d '{"number" : "'$number'"}' http://localhost:8080/async | |
echo '' | |
number=$(expr $number + 1) | |
sleep 1s; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment