Bitcoin Forum
February 22, 2019, 10:04:31 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cgminer-api HTTP ?  (Read 1330 times)
peoples
Member
**
Offline Offline

Activity: 63
Merit: 10


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
Your Bitcoin transactions
The Ultimate Bitcoin mixer
made truly anonymous.
with an advanced technology.
Mix coins
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1550873071
Hero Member
*
Offline Offline

Posts: 1550873071

View Profile Personal Message (Offline)

Ignore
1550873071
Reply with quote  #2

1550873071
Report to moderator
1550873071
Hero Member
*
Offline Offline

Posts: 1550873071

View Profile Personal Message (Offline)

Ignore
1550873071
Reply with quote  #2

1550873071
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2800
Merit: 1154


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 and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!