Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: peoples on January 15, 2016, 10:16:23 PM



Title: cgminer-api HTTP ?
Post by: peoples on January 15, 2016, 10:16:23 PM
Hey guys,

maybe i'm just blind but i can't find any description how to talk with cgminer-api with a simple browser ?


"api-listen" : true,
"api-network" : true,
"api-allow" : "W:0/0",

is set. But when i try a command like http://192.168.0.15:4028/stats

i get error:

|STATUS=E,When=1452896154,Code=14,Msg=Invalid command,Description=cgminer 4.8.0|

any idea ?

thank
regards


Title: Re: cgminer-api HTTP ?
Post by: -ck on January 15, 2016, 10:29:17 PM
The API is not designed to talk to web browsers. It's not a http server.