Skip to content

Instantly share code, notes, and snippets.

@ghandic
Last active May 17, 2018 08:08
Show Gist options
  • Save ghandic/149313297908de5c8c1137bfc2eee49f to your computer and use it in GitHub Desktop.
Save ghandic/149313297908de5c8c1137bfc2eee49f to your computer and use it in GitHub Desktop.
Run cURL request x times in one line
FAST_CALLS_N=200
FAST_CALLS_URL=http://0.0.0.0:8686/api/v1/scores
seq $FAST_CALLS_N | xargs -Iz curl -X GET $FAST_CALLS_URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment