Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if( $curl = curl_init() ) {
- curl_setopt($curl, CURLOPT_URL, 'https://bittrex.com/api/v1.1/public/getmarkets');
- curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
- curl_setopt($curl, CURLOPT_HEADER, 0);
- curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
- print_r(curl_getinfo($curl));
- $out = curl_exec($curl);
- echo $out;
- curl_close($curl);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment