When doing interface testing, I often encounter file upload interfaces. Today I will teach you how to use apipost to upload documents.
1. Open apipost and create a new interface about file upload
2. Find the option body, enter the parameter name corresponding to the file, and then select the text after the parameter name as file.
3. After the modification is completed, the parameter value box behind has been displayed as Please select file to upload, click to select the file to be uploaded
4. After the selection is complete, click the save interface and click request to send.
This is how apipost implements file upload operations.
Tool download address:https://www.apipost.cn