fork download
  1. $curl = curl_init();
  2.  
  3. CURLOPT_URL => 'https://f...content-available-to-author-only...l.app/',
  4. CURLOPT_RETURNTRANSFER => true,
  5. CURLOPT_ENCODING => '',
  6. CURLOPT_MAXREDIRS => 10,
  7. CURLOPT_TIMEOUT => 0,
  8. CURLOPT_FOLLOWLOCATION => true,
  9. CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  10. CURLOPT_CUSTOMREQUEST => 'GET',
  11. CURLOPT_HTTPHEADER => array(
  12. 'X-Client-Secret: d4a4a78c4e29dd882f2133d0f5602bdfc74121fc',
  13. 'X-Client-Id: CF43094CERB9UUTNOL50VJNUMPG',
  14. 'Content-Type: application/json'
  15. ),
  16. ));
  17.  
  18. $response = curl_exec($curl);
  19.  
  20. curl_close($curl);
  21. echo $response;
  22.  
Success #stdin #stdout 0.02s 25716KB
stdin
Standard input is empty
stdout
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://f...content-available-to-author-only...l.app/',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'X-Client-Secret: d4a4a78c4e29dd882f2133d0f5602bdfc74121fc',
    'X-Client-Id: CF43094CERB9UUTNOL50VJNUMPG',
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;