From 9ae849f87f34d8ab566580368340abb61bfd6fc8 Mon Sep 17 00:00:00 2001 From: Benoit Perroud Date: Mon, 1 Feb 2021 14:39:30 +0100 Subject: [PATCH] docs: fix typo in curl command, include content-type header (#22256) Typo: the `'` char was located at the wrong place. The`curl` command, without specifying the content-type headers, complains about invalid content type. --- docs/_interface/Managing-your-accounts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_interface/Managing-your-accounts.md b/docs/_interface/Managing-your-accounts.md index 7b2352387..d90bde263 100644 --- a/docs/_interface/Managing-your-accounts.md +++ b/docs/_interface/Managing-your-accounts.md @@ -260,7 +260,7 @@ When using the console: or via RPC: ``` # Request -$ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1} http://127.0.0.1:8545' +$ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}' -H 'Content-type: application/json' http://127.0.0.1:8545 # Result {