Skip to content

Instantly share code, notes, and snippets.

@b1a9id

b1a9id/request.sh Secret

Last active Jul 9, 2021
Embed
What would you like to do?
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