example how to talk to libcoind with curl

mimic bitcoin-cli output with curl