Author

Topic: cgminer-api HTTP ? (Read 1488 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
January 15, 2016, 05:29:17 PM
#2
The API is not designed to talk to web browsers. It's not a http server.
member
Activity: 82
Merit: 11
January 15, 2016, 05:16:23 PM
#1
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
Jump to: