I was having issues with c-lightning and spruned a while back and I wanted to execute queries and see the raw http request and response. I couldn't find such a tool, so I made one,
jsonrpc-cli. Maybe some others will find it useful when querying bitcoind, etc.
This first release has the following significant features:
- perform arbitrary jsonrpc requests to any jsonrpc server over http
- pass method name and arguments as command line args
- supports http basic auth
- log raw http request/response to a file
- raw or pretty printed json results, or display other structured formats: yaml, php print_r, etc
- colorized results (syntax highlighting)
- configurable request timeout
- option to display/hide jsonrpc response wrapper/envelope.
- detailed logging of each request
I intend to announce any new releases in this thread.
Please report issues or enhancement requests on github.