Tag Archives: curl

<?php $url = 'YOUR_API_LINK'; $crl = curl_init(); curl_setopt($crl, CURLOPT_URL, $url); curl_setopt($crl, CURLOPT_FRESH_CONNECT, true); curl_setopt($crl, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($crl); curl_close($crl); $respons1 = json_decode($response, true); //because of true, it's in an…