From 71cc3e344536b7fc20e0a83f35008dd9642da265 Mon Sep 17 00:00:00 2001 From: "xin.hu" <1qaz2wsx> Date: Thu, 10 May 2018 16:04:19 +0800 Subject: [PATCH] fix readme.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d8eae9..57952b9 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ java -jar naivechain.jar 8081 7002 ws://localhost:7001 - add peer ``` - curl -H "Content-type:application/json" --data '{"peer" : "ws://localhost:7001"}' http://localhost:8080/addPeer + curl http://localhost:8080/addPeer?peer=ws://localhost:7001 ```