I have tried even changing the DNS and what not . I am doing this using php curl.All the requests have been failed.
On command line it looks like this:
curl -v "https://api.themoviedb.org/3/movie/550?api_key=####"
curl: (6) Could not resolve host: api.themoviedb.org_
<?php
$URL = "https://api.themoviedb.org/3/movie/550?api_key=####";
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $URL,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_VERBOSE => false,
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
$data = json_decode($response);
print_r($data);
if($err){
echo "CURL ERROR: ".$err;
}
?>
找不到电影或节目?登录并创建它吧。
ticao2 🇧🇷 pt-BR 的回复
于 2020 年 09 月 14 日 2:31下午
We have heard that in some countries access to TMDb Servers has been blocked for some time.
In wich country are you?
Using VPN?
Can you access directly using your browser?
rohilb2020 的回复
于 2020 年 09 月 14 日 2:36下午
Yaa I figured out that My ISP has blocked it and I am unable to make any API requests but the whole website itself is totally fine.The problems arises when accessing using the CURL . It's worked when I switched to the mobile hotspot and problem became more clear after walking through the forums and reading articles related to that some countries have blocked the usage of the aforementioned. Anyways thanks for answering.
ticao2 🇧🇷 pt-BR 的回复
于 2020 年 09 月 14 日 4:14下午
For registration only. You can inform:
Thank you very much
rohilb2020 的回复
于 2020 年 09 月 14 日 11:30下午
India ISP : UCN
ticao2 🇧🇷 pt-BR 的回复
于 2020 年 09 月 15 日 9:58上午
Perhaps reading these topics will help:
Server Access Problems
Índia + ISP (Internet Service Provider)
https://www.themoviedb.org/talk/5c3928d70e0a26444200460f
https://www.themoviedb.org/talk/5ea01a29be4b36002158ecea
https://www.themoviedb.org/talk/5ea2c80f66f2d200243cf1ac