 <pre><code>$url="https://api.themoviedb.org/3/movie/popular?api_key=52385ff92cb9105e52d86c4786293ce8&amp;page=1"; </code></pre> <p><strong>Using <a href="http://php.net/manual/pt_BR/book.curl.php" rel="nofollow">cURL</a></strong></p> <pre><code>// Initiate curl $ch = curl_init(); // Disable SSL verification curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // Will return the response, if false it print the response curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Set the url curl_setopt($ch, CURLOPT_URL,$url); // Execute $result=curl_exec($ch); // Closing curl_close($ch); // Will dump json data var_dump(json_decode($result, true)); </code></pre> <p><strong>Using <a href="http://php.net/manual/pt_BR/function.file-get-contents.php" rel="nofollow">file_get_contents</a></strong> </p> <pre><code>$result = file_get_contents($url); // Will dump json data var_dump(json_decode($result, true)); </code></pre>