当前位置:网站首页>【分享】接口测试如何在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 is your money transferred? This article tells you the answer
- The way of a million year salary Architect: on the architecture design of application system
- CAD2020下载AutoCAD2020下载安装教程AutoCAD2020中文下载安装方法
- 跟我一起学.NetCore之EF Core 实战入门,一看就会
- CAD2016软件安装教程
- ImmutableMap的put方法问题
- Decrypting the future database design: implementation of mongodb's new storage engine wiredtiger (transaction)
- What kind of experience does a doctor have when he turns his secret love brother into a husband?
- Is multithreading really faster than single threading?
- c语言(循环链表)实现贪吃蛇的基本功能
猜你喜欢

【亲测有效】Github无法访问或者访问速度的解决方案

5 minutes get I use GitHub's 5-year summary of these operations!

How to download and install autocad2020 in Chinese

International top journal radiology published the latest joint results of Huawei cloud, AI assisted detection of cerebral aneurysms

Do programmers pay too much to work overtime? Should programmer's salary be reduced? Netizen: let go of other hard pressed programmers

IDEA解决yml配置文件中文输出乱码问题

What can DNS do besides resolving domain names?

Rainbow sorting | Dutch flag problem

乘风破浪的技术大咖再次集结 | 腾讯云TVP持续航行中

MES system plays an important role in the factory production management
随机推荐
Openyurt in depth interpretation: how to build kubernetes native cloud edge efficient collaborative network?
JS method of judging object type_ How to use typeof_ How to use instanceof_ How to use constructor_ Object.prototype.toString How to use ()
C language -- game of Sanzi
Why is your money transferred? This article tells you the answer
spark学习(二)--作业调度和shuffle解析
python中常见的一些错误异常类型
C语言—————三子棋游戏
cad教程 cad2016安装教程
ImmutableMap的put方法问题
Rainbow sorting | Dutch flag problem
CAD tutorial cad2016 installation course
Lazy to write a document, swagger document does not smell
Idea rest client, yes, I haven't opened postman yet
MES系统在行业应用里区别于传统式管理
Arthas Install 快速安装文档
基于Chef InSpec的基础设施测试
实在是太棒了!阿里资深架构师20年经验整理分享ServiceMesh实战文档,涨薪就差这篇文章了!
瞧瞧,这样的『函数』才叫 Pythonic
To me, multithreading transaction must be a pseudo proposition!
H5 official account listens to events in the closed browser (left fork).