In this discussion regarding connecting via RPC using curl to the BitShares Client an example is given about how to call the "about"-method via JSON-RPC:
https://bitsharestalk.org/index.php?topic=5562.0I edited the config.json like this: "rpc": { "enable": true, "rpc_user": "rpcuser", "rpc_password": "testpassword", "rpc_endpoint": "127.0.0.1:9989", "httpd_endpoint": "127.0.0.1:9990", "htdocs": "./htdocs" },.......
Then I started the Client and issued the following cURL:
curl --data '{"method":"about", "params": [], "json-rpc": 2.0, "id": 0}'
http://rpcuser:testpassword@localhost:9990/rpcResponse: curl: (6) Could not resolve host: params curl: (3) [globbing] bad range specification in column 2 curl: (6) Could not resolve host: json-rpc curl: (6) Could not resolve host: 2.0, curl: (6) Could not resolve host: id curl: (3) [globbing] unmatched close brace/bracket in column 2 ! ┬>▲ ∟Failed to parse the request.
What am I doing wrong here?
Thanks for your help in advance!