trying to get into experimenting with bitcoin web development.
When I edit the bitcoin.conf on my default install it was blank just with a password. Im trying to set it up so it can act as a server.
testnet=0
server=1
rpcuser=admin
rpcpassword=1234
rpcallowip=*
yet when I do this I get the error
(authorization failed) error: incorrect rpcuser or rpcpassword (authorization failed)
on the command bicoind getblockcount
I tried bitcoind getblockcount admin 1234
if anyone could link a good tutorial on this Id appreciate it.
https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29is just too vague