Skip to main content

testadestraapi

$curl_url, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_HTTPHEADER => array( "Authorization: Basic " . variable_get('adestraAuthCode'), "Content-Type: application/json" ), )); $response = curl_exec($curl); $decoded = json_decode($response); print_r($decoded->contacts[0]); //$contact = $decoded->contacts[0]; //curl_close($curl); //print($contact); ?>

Media Partners