How exactly can I use the json-rpc?
I've enabled the telemetry. If i load IP:port in browser i see the page.
So for json-rpc i tried different options with postman and failed on all. Is there something that i'm missing?
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FqgF7EVj.png&t=665&c=7ZmzXy4IFxx_eQ)
I've enabled the telemetry. If i load IP:port in browser i see the page.
So for json-rpc i tried different options with postman and failed on all. Is there something that i'm missing?
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FqgF7EVj.png&t=665&c=7ZmzXy4IFxx_eQ)
I tried writing a scraper for Prometheus using the json-rpc API yesterday, in both Python and then in Java using standard http client libs and found with both that the API does NOT produce a consumable output. In Java, posting with the specified request ( {"id":1, "method":"getstat"} the post to the API port throws an http.ProtocolException "The server failed to respond with a valid HTTP response".
I'd like to use this more elegant json output from a POST rather than scraping through the html on a GET.