Created
January 8, 2020 07:51
-
-
Save farkaskid/92d3d488b4aef5d4c3e7dda4076f4fe4 to your computer and use it in GitHub Desktop.
Write data in KV
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
curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/storage/kv/namespaces/$NAMESPACE_ID/values/first-key" \ | |
-X PUT \ | |
-H "X-Auth-Email: $CLOUDFLARE_EMAIL" \ | |
-H "X-Auth-Key: $CLOUDFLARE_AUTH_KEY" \ | |
--data 'My first value!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment