Last active
March 20, 2022 20:39
-
-
Save bramses/f6ece70123b577dd09d35bb7e9551d95 to your computer and use it in GitHub Desktop.
curl cf images
This file contains hidden or 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
| for f in "$@" | |
| do | |
| curl -X POST -F "file=@$f" -H "Authorization: Bearer API_KEY" https://api.cloudflare.com/client/v4/accounts/ACCOUNT_ID/images/v1 | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment