1. Set a good interface address and submission method
2. Set header
Content-Type:multipart/form-data
3. Set the body
Selected to: form-data
key to the server and consistent
Choose their own files to upload, click on the "send" can be.
When selecting upload files, postman will be given a warning, saying that the file is not in the working directory.
Set as follows:
File—>Settings