forex.pm forex forum binary options trade - Binance - Сryptocurrency exchanges - Bitcoin curl no reply
  • Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

Bitcoin curl no reply

Started by Bitcoin, May 18, 2022, 06:18 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

Bitcoin curl no reply

Hi I have made a curl to my server but get no reply . What am a missing


 rpcuser=rpcusername
 rpcpassword=rpcpassword
 rpcauth=rpcusername:generatedkey
 daemon=1
 server=1
 rpcport=8332
 rpcbind=0.0.0.0:8332
 rpcallowip=0.0.0.0/0
 listen=1
 rpcconnect=0.0.0.0
 prune=10000

Whats strange is that it worked on another server. Why am I bot getting any reply. Bitcoin cli commands all work well . I get no reply not even the usual "empty reply"




Ive used this


curl --digest -u rpcusername:rpcpassword -X POST \
  127.0.0.1:8332/json_rpc \
  -d {\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"getwalletinfo\"}" \
  -H 'Content-Type:application/json'

also swapped it with the IP, still no reply.


Source: Bitcoin curl no reply