Cordova FIle Transfer plugin how to pass transloadit parameters?
问题 Update Trying to post the file to transloadit using the FileTransfer plugin using the following code var uri = encodeURI("https://api2-eu-west-1.transloadit.com/assemblies"); var options = new FileUploadOptions(); options.fileKey = "file"; options.fileName = filepath.substr(filepath.lastIndexOf('/') + 1); var params = new Object(); params.auth =new Object(); params.auth.key ="***************" ; options.params = params; var ft = new FileTransfer(); ft.upload(filepath, uri, win, fail, options);