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.

翻译

如果你的API端点返回一个图像,Postman会自动检测并渲染它。对于二进制响应类型,您应该选择“发送和下载”,这将让您保存响应到您的硬盘。然后可以使用适当的查看器查看它。这使您能够灵活地测试音频文件、pdf文件、zip文件或API提供给您的任何内容。

Send按钮那里可以选择Send and download

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值