My curl PHP code:
$url = "";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);
If $url
is, for example, https://www.google.com
then all is OK.
But if $url
is, for example, https://www.twitch.tv
I cannot get answer, just getting:
504 error
What can be wrong?