Tasks
Upload File
The Upload File task uploads an external file and attaches it to the stub.
Basic usage
Upload and attach an image of the Stubber logo to the stub.
Parameters
required string
upload_type The type of upload. Options: external
string
filename The name of the file to use on the stub once it has uploaded.
Default: uuidv4()
required string
upload_params.url The url of the external file to be uploaded.
string
upload_params.contentType The MIME type of the file to be uploaded.
Default: application/octet-stream
Properties
string
fileuuid The uuid of the uploaded file.