From 800c4718c1691ddec877c5828c69dc3c112b9088 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Wed, 21 Aug 2013 14:43:43 +0300 Subject: [PATCH] Fix api urls in examples They don't work without the v1 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 525b52d3a..259b0462a 100644 --- a/README.md +++ b/README.md @@ -356,7 +356,7 @@ Let the join two more nodes to this cluster using the -C argument: Get the machines in the cluster: ```sh -curl -L http://127.0.0.1:4001/machines +curl -L http://127.0.0.1:4001/v1/machines ``` We should see there are three nodes in the cluster @@ -380,7 +380,7 @@ The key of the machine is based on the ```commit index``` when it was added. The Also try to get the current leader in the cluster ``` -curl -L http://127.0.0.1:4001/leader +curl -L http://127.0.0.1:4001/v1/leader ``` The first server we set up should be the leader, if it has not dead during these commands. @@ -409,7 +409,7 @@ curl -L http://127.0.0.1:4002/v1/keys/foo A new leader should have been elected. ``` -curl -L http://127.0.0.1:4001/leader +curl -L http://127.0.0.1:4001/v1/leader ``` ```