Slide 34
Slide 34 text
$ curl -L http://127.0.0.1:4001/v2/keys/msg \
-X PUT -d value="hello"
$ curl -L http://127.0.0.1:4001/v2/keys/msg
{
"action":"get",
"node":{
"key":"/msg",
"value":"hello",
"modifiedIndex":1157552,
"createdIndex":1157552
}
}
Setting and getting a key by curl