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

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

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


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

这就是apipost如何实现文件上传的操作了。
工具下载地址:
2020-11-09 12:10:00 【Gina_ly】
1.打开apipost,新建一个关于文件上传的接口

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

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


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

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

Analysis of the source code of ThinkPHP facade

JVM learning (6) - memory model and thread

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

实现商品CRUD操作

未来中国电信将把云计算服务打造成为中国电信的主业

VisualStudio(Mac)安装过程笔记

Python零基础入门教程(01)

Source code analysis of ThinkPHP framework execution process

嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:樊文凯

理解Task和和async await
从编码、网络传输、架构设计揭秘腾讯云高质量、高可用实时音视频技术实践...
Introduction to zero based im development (4): what is message timing consistency in IM systems?
Biden wins the US election! Python developers in Silicon Valley make fun of Ku Wang in this way
Python zero basics tutorial (01)
Interface tests how to pass files in post requests
JVM learning (6) - memory model and thread
Analysis of the source code of ThinkPHP facade
Git delete IML file
ThinkPHP门面源码解析
Chrome浏览器引擎 Blink & V8
Solve the problem of idea shortcut key Alt + insert invalid
[design pattern] Chapter 4: Builder mode is not so difficult
JVM learning (4) - garbage collector and memory allocation
How to query by page after 10 billion level data is divided into tables?
EFF 认为 RIAA 正在“滥用 DMCA”来关闭 YouTube-DL
Interview summary on November 7, 2020 (interview 12K)
Impact of libssl on CentOS login
Learning notes of nodejs
大型项目Objective-C - NSURLSession接入短信验证码应用实例分享
财富自由梦缓?蚂蚁金服暂停上市,监管后估值或下跌