Hi.
I try to request TRM using the API and Linux command line :
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 :
% 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 :
STATUS=E,When=1603699097,Code=14,Msg=Invalid command,Description=TeamRedMiner 0.7.15|
What is the correct way to use TRM API ?
Thanks.