fork download
  1. <?php
  2.  
  3. $curl = curl_init();
  4.  
  5. CURLOPT_URL => 'https://p...content-available-to-author-only...n.com/product_list?fromDate=2024-01-01&toDate=2024-04-24&offset=0&limit=500',
  6. CURLOPT_RETURNTRANSFER => true,
  7. CURLOPT_ENCODING => '',
  8. CURLOPT_MAXREDIRS => 10,
  9. CURLOPT_TIMEOUT => 0,
  10. CURLOPT_FOLLOWLOCATION => true,
  11. CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  12. CURLOPT_CUSTOMREQUEST => 'GET',
  13. CURLOPT_HTTPHEADER => array(
  14. 'ACCESS-KEY: 9f7780169200'
  15. ),
  16. ));
  17.  
  18. $response = curl_exec($curl);
  19.  
  20. curl_close($curl);
  21. echo $response;
  22.  
Success #stdin #stdout 0.04s 25940KB
stdin
Standard input is empty
stdout
Standard output is empty