UploadRequest

constructor(id: String, url: String, filePath: String, method: String = "POST", headers: Map<String, String> = emptyMap())

Parameters

id

Unique task identifier.

url

URL to upload to.

filePath

Local file path to upload.

method

HTTP method (POST, PUT).

headers

Optional HTTP headers.