|
|
@ -1080,7 +1080,7 @@ std::string HelpExampleCli(string methodname, string args){ |
|
|
|
|
|
|
|
std::string HelpExampleRpc(string methodname, string args){ |
|
|
|
return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", " |
|
|
|
"\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:8232/\n"; |
|
|
|
"\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:8822/\n"; |
|
|
|
} |
|
|
|
|
|
|
|
const CRPCTable tableRPC; |
|
|
|