Created
January 23, 2017 19:26
-
-
Save omar-yassin/2a55319c9dd4785e757e726b4676ecd8 to your computer and use it in GitHub Desktop.
CONSUL CURL CHEETSHEET
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
## kv | |
# POST key | |
curl -X PUT -d @- localhost:8500/v1/kv/some/key/ <<< key_value | |
# GET key | |
curl -s localhost:8500/v1/kv/some/key | |
# GET raw value | |
curl -s localhost:8500/v1/kv/some/key?raw | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment