Last active
December 27, 2018 10:08
-
-
Save cdcme/b2919dacef70abc835d845e2ba4dec0f to your computer and use it in GitHub Desktop.
Using GNU Parallel with cUrl
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
seq 20 | parallel -n0 -j2 "curl -X "POST" "https://foo.bar.com/webhooks/doStuff" \ | |
-H 'Accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-H 'Authorization: Bearer FOOTOKEN' \ | |
-d $'{ | |
\"stripe_customer_id\": \"blah\", | |
\"api_version\": \"2017-06-05\" | |
}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment