Post
Topic
Board Mining (Altcoins)
Re: [Awesome Miner] - Powerful Windows GUI to manage and monitor up to 200000 miners
by
patrike
on 16/05/2021, 07:31:31 UTC
Hi.

I am trying to use API to stop and start miners, I am really new to this.

Trying to use curl like this:
curl.exe http://XXXX:17790/api/miners/28?action=stop

But when I do that I only get the summary response from the miner. What am I doing wrong here ?
Any help would be appreciated.

### Update - I ended up using powershell instead, line like this:
Invoke-RestMethod -Method 'Post' -Uri http://xxxxx:17790/api/miners/28?action=start


Hi,

All API actions like stopping a miner must use a HTTP Post-request, like you did with Powershell. For CURL it must be specified with "-X POST" to make it work.