Title: Calculated the End Result JSON, how to send to http://api.bitcoin.cz:8332 ? Post by: Toddler on April 15, 2013, 06:31:34 AM 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 :D |