Skip to content

Instantly share code, notes, and snippets.

@b1a9id
Last active July 9, 2021 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b1a9id/7e11c2e79b9987010e14e8bc63543ea9 to your computer and use it in GitHub Desktop.
Save b1a9id/7e11c2e79b9987010e14e8bc63543ea9 to your computer and use it in GitHub Desktop.
asyncのrequest.sh
#!/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