mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Update README.md
This commit is contained in:
parent
c4ac81ea62
commit
6ef625faec
@ -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
|
||||
|
||||
Let’s 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"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user