Bitcoin Forum
April 25, 2024, 10:38:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cgminer-api HTTP ?  (Read 1468 times)
peoples (OP)
Member
**
Offline Offline

Activity: 82
Merit: 11


View Profile
January 15, 2016, 10: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
1714041527
Hero Member
*
Offline Offline

Posts: 1714041527

View Profile Personal Message (Offline)

Ignore
1714041527
Reply with quote  #2

1714041527
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714041527
Hero Member
*
Offline Offline

Posts: 1714041527

View Profile Personal Message (Offline)

Ignore
1714041527
Reply with quote  #2

1714041527
Report to moderator
1714041527
Hero Member
*
Offline Offline

Posts: 1714041527

View Profile Personal Message (Offline)

Ignore
1714041527
Reply with quote  #2

1714041527
Report to moderator
1714041527
Hero Member
*
Offline Offline

Posts: 1714041527

View Profile Personal Message (Offline)

Ignore
1714041527
Reply with quote  #2

1714041527
Report to moderator
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
January 15, 2016, 10:29:17 PM
 #2

The API is not designed to talk to web browsers. It's not a http server.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!