interface RawFile
Represents a file to be added to the request
optionalstring contentType? :
Content-Type of the file
string | number | boolean | Buffer data :
The actual data for the file
optionalstring key? :
An explicit key to use for key of the formdata field for this file. When not provided, the index of the file in the files array is used in the form files[${index}]
. If you wish to alter the placeholder snowflake, you must provide this property in the same form (files[${placeholder}]
)
string name :
The name of the file