Forum Discussion

Raghav_Gupta's avatar
Raghav_Gupta
New Contributor
5 years ago

Download Excel file as a response from Open Api 3

  I am editing in editor.swagger.io How can I download response from API locally which is a excel file? My snippet - responses: 200: description: "JSON to Excel conversion succe...
  • Raghav_Gupta's avatar
    5 years ago

    Ok figured out. Have to expose content disposition header in the server code. It resolves for MIME types such as xlsx.