RawFile

export interface RawFile
export interface RawFile
Represents a file to be added to the request
contentType?:string
Content-Type of the file
data:Buffer | Uint8Array | boolean | number | string
The actual data for the file
key?:string
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}])
name:string
The name of the file