Created
January 26, 2016 22:05
-
-
Save jfwood/202996ebd2cccf9bee5e to your computer and use it in GitHub Desktop.
Simple POST secrets
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 -v -k X POST -H 'X-Roles:admin' -H 'X-Project-Id:12345' -H 'X-User-Id:6789' -H 'content-type:application/json' \ | |
-d '{"payload": "my-secret-here", "payload_content_type": "text/plain"}' \ | |
$KEEP_ENDPOINT/v1/secrets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment