当前位置:网站首页>[share] interface tests how to transfer files in post request

[share] interface tests how to transfer files in post request

2020-11-09 15:20:06 Orange cat's sky

When doing the interface test, we often encounter the interface of file upload , Today I will teach you how to use apipost Upload the document .

1. open apipost, Create a new interface for uploading files

 

 

2. find body This option , Enter the parameter name corresponding to the file , After the parameter name text Choose as file.

 

 

3. After the modification is completed , The following parameter value box has been displayed as please select file upload , Click on , Select the file to upload

 

 

4. After selection, click Save interface and click request send .

 

This is it. apipost How to achieve file upload operation .

Tool download address :

ApiPost - Directly generated documents API debugging 、 Management tools www.apipost.cn

版权声明
本文为[Orange cat's sky]所创,转载请带上原文链接,感谢