How can I upload files in Postman?
If you wish to append a file to a postman call it needs to be added to the body.Check form-data
and select file
instead of text
. You can now select a file with the windows file explorer.
To obtain the given file use the request
package.
file = request.files['file']
The index has to be the same string you specified within the postman body data.