title: Request Download Link Using My Server IP
body: <p>I'm trying to build application using the Openload API <a href="https://openload.co/api#download-ticket" rel="nofollow noreferrer">https://openload.co/api#download-ticket</a></p>
  
  <p>I'm using PHP curl to parse JSON file and download the file. below are my codes:</p>
  
  <pre><code>$url = 'https://api.openload.co/1/file/dl?file=svctclysb7u&amp;ticket=SvCtcLYsB7U&amp;captcha_response=ty32';
  
  $ch = curl_init();
  
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  curl_setopt($ch, CURLOPT_HEADER, 0);
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  
  $response = curl_exec($ch);
  
  if ($response === false) {
      echo curl_error($ch);
  }
  
  curl_close($ch);
  
  if ($response !== false) {
  
      $json = json_decode($response, true);
      if ($json['status'] === 200) {
          header('Location: ' . $json['result']['url']);
      }
  }
  </code></pre>
  
  <p>So I;m trying to redirect to the download url using header('Location' . $json['result']['url']) but I get this error:</p>
  
  <pre><code>download ISP is different to request ISP. request: AS55293 download: AS9299
  </code></pre>
  
  <p>I tried to research and found out that the download request is coming from my server IP and then downloading using my ISP IP which is a issue for openload.</p>
  
  <p>Is there a way to trick the API that I'm using the same ISP to download the file? or atleast any way to make the download process to be on the same ISP?</p>
  
  <p>I already tried using ajax and $.getJson but no luck and got the same error.</p>