当前位置:网站首页>【分享】接口测试如何在post请求中传递文件
【分享】接口测试如何在post请求中传递文件
2020-11-09 15:20:00 【橘猫的天空】
在做接口测试的时候往往会遇到文件上传的接口,今天教大家如何使用apipost进行文档上传操作。
1.打开apipost,新建一个关于文件上传的接口
2.找到body这个选项,输入文件对应的参数名,在然后把参数名后面的text选择为file。
3.修改完成之后,后面参数值的框已经显示为请选择文件上传,点击,选择需要上传的文件
4.选择完成之后点击保存接口点击请求发送。
这就是apipost如何实现文件上传的操作了。
工具下载地址:
版权声明
本文为[橘猫的天空]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4537315/blog/4710068
边栏推荐
- Why does it take more and more time to develop a software?
- cad教程 cad2016安装教程
- Decision tree algorithm theory
- 懒得写文档,swagger文档导出来不香吗
- 程序员过高工资导致加班?应该降低程序员工资?网友:放过其他苦逼的程序员吧
- Kubernetes V1.19.3 kubeadm 部署笔记(中)
- The way of a million year salary Architect: on the architecture design of application system
- Hadoop learning (3) - Yarn
- Decrypting the future database design: implementation of mongodb's new storage engine wiredtiger (transaction)
- Arthas install quick installation document
猜你喜欢
移动安全加固助力 App 实现全面、有效的安全防护
How can you be a big data worker with an annual salary of 40W if you don't work hard?
MES system is different from traditional management in industry application
CCF BDCI热门赛题:非结构化商业文本信息中隐私信息识别
要我说,多线程事务它必须就是个伪命题!
融云完成数亿人民币 D 轮融资,将持续打造全球云通信能力
CAD2016软件安装教程
ImmutableMap的put方法问题
Full link stress testing of moral integrity -- the evolution of corpus intelligence
Restart the heap_ uaf_ hacknote
随机推荐
乘风破浪的技术大咖再次集结 | 腾讯云TVP持续航行中
HomeLede 2020.11.08 v5.4.72内核 UPnP+NAS+多拨+网盘+DNS优化+帕斯沃 无缝集成+软件包
Leetcode algorithm (1)
Mobile security reinforcement helps app achieve comprehensive and effective security protection
Autocad2020 full version installation text course, registration activation cracking method
A certification and authorization solution based on. Net core - hulutong 1.0 open source
The worst hacker in history: stealing $1 billion of bitcoin without spending it for seven years, and finally being seized by the Department of justice
瞧瞧,这样的『函数』才叫 Pythonic
Cad2016 download autocad2016 download installation detailed tutorial CAD Download
基于Chef InSpec的基础设施测试
一款基于.NET Core的认证授权解决方案-葫芦藤1.0开源啦
One year after graduation, I took private jobs to earn 10 W and got offers from several big factories!
IDEA解决yml配置文件中文输出乱码问题
Kubernetes V1.19.3 kubeadm 部署笔记(中)
Explain three different authentication protocols in detail
Performance comparison of serialization tools such as Jackson, fastjson, kryo, protostuff
MES system plays an important role in the factory production management
Learn with me. NETCORE EF core practical introduction, a look will
Some common types of error exception in Python
Application of EMQ X in the Internet of things platform of China Construction Bank