Update README.md

This commit is contained in:
Xiang Li 2013-07-11 22:10:23 -07:00
parent c4ac81ea62
commit 6ef625faec

View File

@ -12,12 +12,10 @@ etcd
This will bring up a node, which will be listening on internal port 7001 (for server communication) and external port 4001 (for client communication)
Setting and Retrieving Values
#### Setting the value to a key
Lets set the first key-value pair to the node. In this case our key is “/message” and our value is “Hello world”.
#### Setting the value to a key
```sh
curl http://127.0.0.1:4001/v1/keys/message -d value="Hello world"
```