Guest User

Untitled

a guest
Oct 11th, 2014
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.39 KB | None | 0 0
  1. <?php
  2.   if( $curl = curl_init() ) {
  3.    
  4.     curl_setopt($curl, CURLOPT_URL, 'https://bittrex.com/api/v1.1/public/getmarkets');
  5.         curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
  6.  
  7.     curl_setopt($curl, CURLOPT_HEADER, 0);
  8.  
  9.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
  10.     print_r(curl_getinfo($curl));
  11.    
  12.     $out = curl_exec($curl);
  13.      echo $out;
  14.    
  15.    
  16.     curl_close($curl);
  17.   }
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment