-
-
Save markthomas93/df7eda131dc25c7c238ed5b1b064bc88 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