['-']% curl -X PUT -d 'bar' http://127.0.0.1:8500/v1/kv/foo
true
['-']%
['-']%
['-']% curl -s http://127.0.0.1:8500/v1/kv/foo | jq .
[
{
"CreateIndex": 538,
"ModifyIndex": 538,
"LockIndex": 0,
"Key": "foo",
"Flags": 0,
"Value": "YmFy"
}
]
['-']%
['-']% curl -s http://127.0.0.2:8500/v1/kv/foo | jq .
[
{
"CreateIndex": 538,
"ModifyIndex": 538,
"LockIndex": 0,
"Key": "foo",
"Flags": 0,
"Value": "YmFy"
}
]
['-']%
['-']% curl -X PUT -d 'barbar' http://127.0.0.2:8500/v1/kv/foofoo
true
['-']%
['-']% curl -s http://127.0.0.1:8500/v1/kv/foofoo | jq .
[
{
"CreateIndex": 540,
"ModifyIndex": 540,
"LockIndex": 0,
"Key": "foofoo",
"Flags": 0,
"Value": "YmFyYmFy"
}
]
['-']%
['-']%
Last active
August 29, 2015 14:06
-
-
Save kenjiskywalker/0b2ff721eb6202f1ac97 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment