Search code examples
restpostmanrest-clientadvanced-rest-client

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


I have an API endpoint and an 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?


Solution

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

    Screenshot showing "Send and Download" button in postman

    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."