title: Why is cloudflare blocking my api request
body: <p>I am trying to access the api <a href="https://api.btcxindia.com/order_book/" rel="nofollow">https://api.btcxindia.com/order_book/</a> which is working fine in the browser however when I try to access it using file_get_contents or curl , i am getting Error 520, can someone tell why?</p>
  
  <p>Tried</p>
  
  <pre><code>echo file_get_contents('https://api.btcxindia.com/order_book/'); 
  </code></pre>
  
  <p>And </p>
  
  <pre><code>curl 'https://api.btcxindia.com/order_book/' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.5' -H 'Connection: keep-alive' -H 'Host: api.btcxindia.com' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0'
  </code></pre>
  
  <p>Both do not work.</p>