Deezer

無料
よって Igor Zakutynsky | 更新済み vor 5 Tagen | Music
人気

1.2 / 10

レイテンシー

127,261ms

サービスレベル

0%

Health Check

N/A

すべてのディスカッションに戻る

Request Time Out

Rapid account: Rooyatech
rooyatech
vor 2 Jahren

Getting Request time out when add proper code on my server

<?php
curl=curlinit();curlsetoptarray(curl = curl_init(); curl_setopt_array(curl, [
CURLOPT_URL => “https://deezerzakutynskyv1.p.rapidapi.com/searchTracks”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 3000,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “POST”,
CURLOPT_POSTFIELDS => “accessToken=HERE I uSED MY tOKEN&searchQuery=Dill%20Dill%20Pakistan”,
CURLOPT_HTTPHEADER => [
“content-type: application/x-www-form-urlencoded”,
“x-rapidapi-host: DeezerzakutynskyV1.p.rapidapi.com”,
“x-rapidapi-key: My App Key (RapidApi app key)”
],
]);
response=curlexec(response = curl_exec(curl);
err=curlerror(err = curl_error(curl);
curl_close(curl);if(curl); if (err) {
echo “cURL Error #:” . $err;
} else {
echo $response;
}

Rapid account: Rooyatech
rooyatech Commented vor 2 Jahren

{“messages”:“The API is unreachable, please contact the API provider”, “info”: “Your Client (working) —> Gateway (working) —> API (not working)”}

this error getting

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿