github.com/macb/etcd@v0.3.1-0.20140227003422-a60481c6b1a0/tests/fixtures/v1.cluster/run.4.sh (about)

     1  #!/bin/sh
     2  
     3  curl -L http://127.0.0.1:4001/v1/keys/message -d value="Hello world"
     4  curl -L http://127.0.0.1:4001/v1/keys/message -d value="Hello etcd"
     5  curl -L http://127.0.0.1:4001/v1/keys/message -X DELETE
     6  curl -L http://127.0.0.1:4001/v1/keys/message2 -d value="Hola"
     7  curl -L http://127.0.0.1:4001/v1/keys/expiring -d value=bar -d ttl=5
     8  curl -L http://127.0.0.1:4001/v1/keys/foo -d value=one
     9  curl -L http://127.0.0.1:4001/v1/keys/foo -d prevValue=two -d value=three
    10  curl -L http://127.0.0.1:4001/v1/keys/foo -d prevValue=one -d value=two
    11  curl -L http://127.0.0.1:4001/v1/keys/bar -d prevValue= -d value=four
    12  curl -L http://127.0.0.1:4001/v1/keys/bar -d prevValue= -d value=five
    13  curl -X DELETE http://127.0.0.1:7001/remove/node2