I'm trying to return JSON results from a page but I get the following error using file_get_contents(): " failed to open stream: HTTP request failed! "
Can someone tell me why I get this error?
<?
$newURL = 'https://api.qwant.com/api/search/images?count=10&offset=1&q=Spicy
Cranberry Cavolo Nero (Kale)';
$returnedData = file_get_contents($newURL);
?>