Bitcoin Forum
May 08, 2024, 06:54:11 PM *
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
1715194451
Hero Member
*
Offline Offline

Posts: 1715194451

View Profile Personal Message (Offline)

Ignore
1715194451
Reply with quote  #2

1715194451
Report to moderator
1715194451
Hero Member
*
Offline Offline

Posts: 1715194451

View Profile Personal Message (Offline)

Ignore
1715194451
Reply with quote  #2

1715194451
Report to moderator
1715194451
Hero Member
*
Offline Offline

Posts: 1715194451

View Profile Personal Message (Offline)

Ignore
1715194451
Reply with quote  #2

1715194451
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715194451
Hero Member
*
Offline Offline

Posts: 1715194451

View Profile Personal Message (Offline)

Ignore
1715194451
Reply with quote  #2

1715194451
Report to moderator
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


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!