1. 程式人生 > >postman能夠進行檔案下載功能進行測試嗎?

postman能夠進行檔案下載功能進行測試嗎?

官方文件有說明:
If your API endpoint returns an image, Postman will detect and render it automatically. 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. This gives you the flexibility to test audio files, PDFs, zip files, or anything that the API throws at you.

在Send按鈕那裡可以選擇Send and download
這裡寫圖片描述