Post
Topic
Board Mining (Altcoins)
Re: [ANN] TeamRedMiner 0.7.15 - Nimiq/Kawpow/Ethash/Cryptonight and More
by
mikebzh44
on 26/10/2020, 08:05:36 UTC
Hi.

I try to request TRM using the API and Linux command line :

Code:
curl -d '{"command":"summary"}' -H "Content-Type: application/json" -X POST http://localhost:4028 > summary.json; cat summary.json

summary.json file is created but it's not JSON format :

Code:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   170    0   170    0     0   166k      0 --:--:-- --:--:-- --:--:--  166k

And I have an error :

Code:
STATUS=E,When=1603699097,Code=14,Msg=Invalid command,Description=TeamRedMiner 0.7.15|

What is the correct way to use TRM API ?

Thanks.