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