Bitcoin Forum
November 11, 2024, 03:31:04 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Calculated the End Result JSON, how to send to http://api.bitcoin.cz:8332 ?  (Read 455 times)
Toddler (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
April 15, 2013, 06:31:34 AM
 #1

I tried to send the data via POST but I was greeted with a new set of getWork() [You know, the typical Data, Target, Hash1, MidState and ID].

I send this [Example:]
Code:
{"method":"getwork","params":["000000029af1f43c342ad525e3c4fd9368a76fbe32a2bfc1d5503b6c0000007600000000e5a720f8ec330f06fab42bb92f24d5d4211002bb202beb163fbeed28123f8e235166d77c1a022fbe63514129700000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"],"id":1}


Via POST to http://api.bitcoin.cz:8332/ under the variable "data", this means if the other side is a php file, using $_POST["data"] would get the data.

Since SlushPool's http://api.bitcoin.cz:8332/ didn't return the expected answer, my question is under what variable name should I POST the JSON string ?

Thanks, this is the final step to me completing my own Miner Cheesy
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!