title: cURL request returns Resource Id#6
body: <p>I am trying to get link of an excel sheet which is generated by posting a cart to web server. I am posting data successfully getting the link for next AJAX GET call. When I try to execute cURL on next link, I am getting Resource Id#6 inplace of html response page.</p>
  
  <p>I have attached an image for more details.<a href="https://i.stack.imgur.com/3yCd4.png" rel="nofollow noreferrer">enter image description here</a></p>