1
curl --user ryunishida:password --data-binary '{"jsonrpc": "1.0",
"id":"curltest", "method": "getinfo", "params": [] }' -H 'content-
type:
text/plain;' http://127.0.0.1:18332/ -w '%{http_code}\n'
bitcoin/bitcoin.conf below
rpcuser=ryunishida
rpcpassword=password
HOST=localhost
server=1
txindex=1
rpcport=18332
testnet=3
then i get 401
You mean
.bitcoin/bitcoin.conf, right? – Nick ODell – 2017-08-18T18:55:02.730Yes I meant that – 西田龍 – 2017-08-19T06:04:17.440