Upload
uploadFile(file, params)⇒ Promise.<any>
Promise.<any>
Deprecated
Upload local file via router /api/binary.
Parameters
Param | Type | Description |
---|---|---|
file |
| Required - The file |
params |
| Required - Object containing imType property to describe the uploaded file |
uploadUri(uri, params)⇒ Promise.<any>
Promise.<any>
Deprecated
Send a uri to be uploaded to backend
Parameters
Param | Type |
---|---|
uri |
|
params |
|