在做接口测试的时候往往会遇到文件上传的接口,今天教大家如何使用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

A simple ability determines whether you will learn!

Application of cloud gateway equipment on easynts in Xueliang project

Understanding runloop in OC

Several rolling captions based on LabVIEW

Dynamo: a typical distributed system analysis

BIOS of operating system

使用rem,做到屏幕缩放时,字体大小随之改变

Apache Iceberg 中三种操作表的方式

理解Task和和async await

开源ERP招聘了
Wechat circle
大型项目Objective-C - NSURLSession接入短信验证码应用实例分享
GitHub 上适合新手的开源项目(Python 篇)
上周热点回顾(11.2-11.8)
抢球鞋?预测股市走势?淘宝秒杀?Python表示要啥有啥
2020.11.07面试总结(面试12k)
Reread reconstruction
5年程序员面试,常见面试问题解析
做用户,绕不开画像!
Commodity management system -- integrate warehouse services and obtain warehouse list
Glsb involves load balancing algorithm
Capture bubbles? Is browser a fish?
2 normal mode
Gather in Beijing! Openi / O 2020 Qizhi Developer Conference enters countdown
[design pattern] Chapter 4: Builder mode is not so difficult
Elasticsearch原理解析与性能调优
Start learning discrete mathematics again
Method of creating flat panel simulator by Android studio
git 删除iml文件
Rainbow sorting | Dutch flag problem