How to download excel (.xls) file from API in postman?

praxnet picture praxnet · Aug 16, 2016 · Viewed 138.4k times · Source

I am having an API endpoint and Authorization token for that API.

The said API is for .xls report download, how can I view the downloaded .xls file using (if possible) Postman?

If it is not possible using Postman what are the other programmatic ways I should be looking for?

Answer

Jake picture Jake · Aug 16, 2016

Try selecting send and download instead of send when you make the request. (the blue button)

https://www.getpostman.com/docs/responses

"For binary response types, you should select Send and download which will let you save the response to your hard disk. You can then view it using the appropriate viewer."