From 732327b6ae1bf9f64c928fbeb0f5b4403c270c52 Mon Sep 17 00:00:00 2001 From: Lucas Saldanha Date: Thu, 21 Mar 2019 16:03:46 +1300 Subject: [PATCH] Fixing JSON-RPC docs formatting (#1146) Signed-off-by: Adrian Sutton --- docs/Reference/JSON-RPC-API-Methods.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Reference/JSON-RPC-API-Methods.md b/docs/Reference/JSON-RPC-API-Methods.md index 93a39172e1..b5454fc9ea 100644 --- a/docs/Reference/JSON-RPC-API-Methods.md +++ b/docs/Reference/JSON-RPC-API-Methods.md @@ -366,7 +366,7 @@ None !!! example ```bash tab="curl HTTP request" - curl -X POST --data '{"jsonrpc":"2.0","method":"net_enode","params":[],"id":53}' localhost:8545 + curl -X POST --data '{"jsonrpc":"2.0","method":"net_enode","params":[],"id":53}' http://127.0.0.1:8545 ``` ```bash tab="wscat WS request" @@ -375,10 +375,10 @@ None ```json tab="JSON result" { - "jsonrpc" : "2.0", - "id" : 53, - "result" : "enode://6a63160d0ccef5e4986d270937c6c8d60a9a4d3b25471cda960900d037c61988ea14da67f69dbfb3497c465d0de1f001bb95598f74b68a39a5156a608c42fa1b@127.0.0.1:30303" -} + "jsonrpc" : "2.0", + "id" : 53, + "result" : "enode://6a63160d0ccef5e4986d270937c6c8d60a9a4d3b25471cda960900d037c61988ea14da67f69dbfb3497c465d0de1f001bb95598f74b68a39a5156a608c42fa1b@127.0.0.1:30303" + } ``` ## Eth Methods