Deezer

무료
분류별 Igor Zakutynsky | 업데이트됨 5 days ago | Music
인기

4.1 / 10

지연 시간

127,261ms

서비스 수준

0%

Health Check

N/A

모든 토론으로 돌아가기

Request Time Out

Rapid account: Rooyatech
rooyatech
2 years ago

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 2 years ago

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

this error getting

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입