Curl call does not work in development

Hi. I have a php code that does not work at all in Development, but it works fine in Production. I thought it was the PHP version but I made them all the same. It is an API call using CURL:

$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => “https://apius1.processplan.com/3.0/authenticate”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => array(
“Authorization: Basic XXXXXXXXX”,
“Content-Type: application/json”,
“accountid: XXXXXXX”
),
));

$response = curl_exec($curl);
curl_close($curl);

$array = json_decode($response,true);

It returns blank. But in Production works just fine. ANy idea of why this could happen?

Thanks!

Maybe the url of your dev site is blacklisted or blocked at the api server?