title: Download/Save file in react js
body: <p>How can i save the response from api which gives me excel file with data and name ?</p>
  
  <p>I have below api which gives me the excel file and i have to save it at default location as is.</p>
  
  <pre><code>https://mydomain.dev.com/export
  </code></pre>
  
  <p>I have gone through the multiple articles on the web but everywhere its explained to save the data as excel file at client side which is not the my case. For me, file type and name is already decided at server side and i have to just save as is.</p>
  
  <p>Thanks a lot in advance</p>