在做接口测试的时候往往会遇到文件上传的接口,今天教大家如何使用apipost进行文档上传操作。
1.打开apipost,新建一个关于文件上传的接口

2.找到body这个选项,输入文件对应的参数名,在然后把参数名后面的text选择为file。

3.修改完成之后,后面参数值的框已经显示为请选择文件上传,点击,选择需要上传的文件


4.选择完成之后点击保存接口点击请求发送。

这就是apipost如何实现文件上传的操作了。
工具下载地址: https://www.apipost.cn
2020-11-09 11:30:00 【测试人生路】
1.打开apipost,新建一个关于文件上传的接口

2.找到body这个选项,输入文件对应的参数名,在然后把参数名后面的text选择为file。

3.修改完成之后,后面参数值的框已经显示为请选择文件上传,点击,选择需要上传的文件


4.选择完成之后点击保存接口点击请求发送。

这就是apipost如何实现文件上传的操作了。
工具下载地址: https://www.apipost.cn
版权声明
本文为[测试人生路]所创,转载请带上原文链接,感谢
https://segmentfault.com/a/1190000037768623

Three ways to operate tables in Apache iceberg

典型分布式系统分析:Dynamo

Using rem, the font size changes when the screen zooms

从编码、网络传输、架构设计揭秘腾讯云高质量、高可用实时音视频技术实践...

Deng Junhui's notes on data structure and algorithm learning - Chapter 9

Unemployment log, November 5

捕获冒泡?难道浏览器是鱼吗?

Python zero basics tutorial (01)

Android Development - service application, timer implementation (thread + service)

LTM understanding and configuration notes
Mac terminal oh my Zsh + solarized configuration
Android Development - service application, timer implementation (thread + service)
MapStruct 解了对象映射的毒
安卓开发——服务应用,计时器的实现(线程+服务)
大型项目Objective-C - NSURLSession接入短信验证码应用实例分享
After SQL group query, get the first n records of each group
Application of cloud gateway equipment on easynts in Xueliang project
VisualStudio(Mac)安装过程笔记
Show profile analysis of SQL statement performance overhead
The whole process of building a fully distributed cluster
理解 OC 中 RunLoop
1486. Array XOR operation
使用CopyMemory API出现 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
【译】npm developer guide
Gather in Beijing! Openi / O 2020 Qizhi Developer Conference enters countdown
典型分布式系统分析:Dynamo
JT-day09
寻找性能更优秀的动态 Getter 和 Setter 方案
range_sensor_layer
Biden wins the US election! Python developers in Silicon Valley make fun of Ku Wang in this way