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.
pull/22295/head
Benoit Perroud 4 years ago committed by GitHub
parent 2c81e00ea7
commit 9ae849f87f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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
{

Loading…
Cancel
Save