Post
Topic
Board Mining (Altcoins)
Re: [ANN] dstm's ZCash Nvidia Miner v0.5.1 (Linux)
by
dstm
on 09/10/2017, 09:50:38 UTC
@dstm
unfortunately the API doesn't play well with the rest of the HTTP crowd. I tried three different libraries, including one specifically for JSON-RPC, and none was able to read the values. They all throw various HTTP connection errors.
The problem is that it's returning the JSON string in the head of the reply, not in the body, which is confusing the libraries I tried.
If you could add a separate path specifically to read the values, and send them in the body it would be awesome.

Thank you.

I don't use http to transfer json-objects. Just open a socket make a request and parse the returned json-object. This is exactly the same way json-rpc is used by pools in their stratum implementation. Nokia555 did a client implementation for zm, so maybe he can help you with the libraries.