当前位置:网站首页>【分享】接口测试如何在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
边栏推荐
- spark学习(二)--作业调度和shuffle解析
- 什么是网站【新四化】?
- 百万年薪架构师之路:谈应用系统架构设计
- C language (circular list) to achieve the basic function of snake
- H5 official account listens to events in the closed browser (left fork).
- Decision tree algorithm theory
- 布客·ApacheCN 编程/后端/大数据/人工智能学习资源 2020.11
- Spark Learning (2) -- job scheduling and shuffle analysis
- IDEA解决yml配置文件中文输出乱码问题
- Restart the heap_ uaf_ hacknote
猜你喜欢

To me, multithreading transaction must be a pseudo proposition!

Idea solves garbled Chinese output of YML configuration file
![What is website [new four modernizations]?](/img/3b/00bc81122d330c9d59909994e61027.jpg)
What is website [new four modernizations]?

Efficient estimation of word representations in vector space

程序员买房前后对比,看完后已哭瞎...

Viewing PDB files from the angle of assembly

Decrypting the future database design: implementation of mongodb's new storage engine wiredtiger (transaction)

03.优先链接模型

Two ways for Tencent cloud server to build WordPress website

Rainbow sorting | Dutch flag problem
随机推荐
Method of conversion between JS character and ASCII code
我叫Mongo,收了「查询基础篇」,值得你拥有
一款基于.NET Core的认证授权解决方案-葫芦藤1.0开源啦
To me, multithreading transaction must be a pseudo proposition!
Android字节跳动一面,被面试官吊打!幸得美团内推,三面拿到offer
Why I strongly recommend custom development of small programs, these benefits you need to understand
The technology masters who ride the wind and waves gather again | Tencent cloud TVP continues to sail
Embedded assembly in IOS
SEO建设者,有哪些说不出的苦?
Some common types of error exception in Python
H5公众号点击内置浏览器的关闭(左上角的叉叉)监听到事件
HomeLede 2020.11.08 v5.4.72内核 UPnP+NAS+多拨+网盘+DNS优化+帕斯沃 无缝集成+软件包
Native地图与Web融合技术的应用与实践
Cad2016 software installation tutorial
瞧瞧,这样的『函数』才叫 Pythonic
国际顶刊Radiology发表华为云最新联合成果,AI辅助检测脑动脉瘤
MES系统在行业应用里区别于传统式管理
Using art template to obtain weather forecast information
决策树算法-理论篇
Guest interview: Wang Jian