当前位置:网站首页>接口调试工具模拟Post上传文件——ApiPost
接口调试工具模拟Post上传文件——ApiPost
2022-07-02 03:34:00 【51CTO】
ApiPost简介:
ApiPost是一个支持团队协作,并可直接生成文档的API调试、管理工具。它支持模拟POST、GET、PUT等常见请求,是后台接口开发者或前端、接口测试人员不可多得的工具 。
ApiPost模拟Post上传文件
使用apipost可以方便的模拟Post上传,详细介绍如下
1、官方下载安装ApiPost打开
下载地址: Apipost-基于协作,不止于API文档、调试、Mock
2、注册账号并登陆后,创建一个项目。如图:


这两步操作比较简单,没啥说的。我就直接下一步了。
3、新建一个接口,url填写我们后台的api地址,在这里我的后台代码如下(PHP):

这个后台代码比较简单,就是打印下接受的file数据,相信懂php的你不是问题。
4、请求方式选【post】,添加一个参数并类型选择 【File】然后发送就可以了。如图:

边栏推荐
- Kotlin基础学习 14
- Global and Chinese market of handheld ultrasonic scanners 2022-2028: Research Report on technology, participants, trends, market size and share
- Docker安装canal、mysql进行简单测试与实现redis和mysql缓存一致性
- aaaaaaaaaaaaa
- Learn PWN from CTF wiki - ret2shellcode
- Global and Chinese markets for hand hygiene monitoring systems 2022-2028: Research Report on technology, participants, trends, market size and share
- Uniapp uses canvas to generate posters and save them locally
- Kubernetes cluster storageclass persistent storage resource core concept and use
- leetcode-1380. Lucky number in matrix
- [designmode] builder model
猜你喜欢
随机推荐
NLog使用
Download and use of the super perfect screenshot tool snipaste
aaaaaaaaaaaaa
[HCIA continuous update] overview of dynamic routing protocol
halcon图像矫正
MySQL index, transaction and storage engine
[punch in] flip the string (simple)
Gradle notes
Global and Chinese market of gynaecological health training manikin 2022-2028: Research Report on technology, participants, trends, market size and share
Go执行shell命令
Intersection of Venn graph
Which of PMP and software has the highest gold content?
[HCIA continuous update] working principle of OSPF Protocol
Analyse de 43 cas de réseaux neuronaux MATLAB: Chapitre 42 opérations parallèles et réseaux neuronaux - - opérations parallèles de réseaux neuronaux basées sur CPU / GPU
This article describes the step-by-step process of starting the NFT platform project
C#聯合halcon脫離halcon環境以及各種報錯解决經曆
跟着CTF-wiki学pwn——ret2shellcode
Use blocking or non blocking for streamline
One of the future trends of SAP ui5: embrace typescript
Spark Tuning








