我正在尝试从经销商俱乐部API检查域名可用性。当我尝试它时会显示一个空白页面。没有任何错误或响应显示
这是我的代码
$url = 'https://test.httpapi.com//api/domains/available.json?auth-userid=MYID&api-key=MY_API_KEY&domain-name=shivaywebsolutions&tlds=com&tlds=net&suggest-alternative=true';
//if ($data) $url = sprintf("%s?%s", $url, http_build_query($data));
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$apidata = curl_exec($curl);
$apidata_json = json_decode($apidata, TRUE);
return $apidata_json;