Bitcoin Forum
May 23, 2018, 02:32:34 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Blockchain-API Problem  (Read 276 times)
Full Member
Offline Offline

Activity: 175
Merit: 100

★★ Fun BTC Casino!

View Profile
February 27, 2017, 01:38:08 PM

I want use Blockchain API on my local raspberry pi host... Blockchain wallet service run normally but, when i send php request, i see this error on console:

error: Unable to establish session

and on php;

array(1) {

["error"]=> string(34) "Unexpected error, please try again" }

Please help me, how can i fix this error...

My Php;

$url = "";
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, $url);
$ccc = curl_exec($ch);
$json = json_decode($ccc, true);
echo "<pre>";
echo "</pre>";

Please help me, I have v2 API Code...

▲▼▲▼▲▼▲▼  No.1 Bitcoin Binary Options and Double Dice  ▲▼▲▼▲▼▲▼
████████████████████████████████  sec◔nds trade  ████████████████████████████████
↑↓ Instant Bets ↑↓ Flexible 1~720 minutes Expiry time ↑↓ Highest Reward 190% ↑↓ 16 Assets [btc, forex, gold, 1% edge double dice] ↑↓
Pages: [1]
Jump to:  

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!