Closed oggy95 closed 5 years ago
maybe you should add Content-Type with application/json;charset=UTF-8 or something. you can use postman tool, and import the file to test https://github.com/nuls-io/nuls-v2/blob/master/module/nuls-api/documents/nuls-api_Postman_JSONRPC.json
zhouwei@nuls.io
From: oggy95 Date: 2019-10-03 22:40 To: nuls-io/nuls-v2 CC: Subscribed Subject: [nuls-io/nuls-v2] Allow methods for API (#515) I've installed NULS WALLET 2.1, but when I try to call getBestBlock or createAccount via JSON-RPC, here's the answer: { "success": false, "data": { "code": "err_0014", "msg": "HTTP 405 Method Not Allowed" } }
May i need to change something in nuls.cnf, because i didn't find like this in documentation. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Oh, I checked, I send the wrong request to the node wallet. In the address row, I didn't write "/jsonrpc". Thanks for answering.
I've installed NULS WALLET 2.1, but when I try to call getBestBlock or createAccount via JSON-RPC, here's the answer:
May i need to change something in nuls.cnf, because i didn't find like this in documentation.