You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi silkimen,
when uploading a file the parameters as described (e.g.: {id:'12',message:'test'}) are not transferred as part of the multipart request.
In public-interface.js params: params are not handed over to > exec(onSuccess, onFail, 'CordovaHttpPlugin', 'uploadFiles', [url, but no params]
Would it be possible to hand it over to public CordovaHttpUpload() and send it out together with the files?
Best regards
Max
Hi silkimen,
when uploading a file the parameters as described (e.g.: {id:'12',message:'test'}) are not transferred as part of the multipart request.
In public-interface.js params: params are not handed over to > exec(onSuccess, onFail, 'CordovaHttpPlugin', 'uploadFiles', [url, but no params]
Would it be possible to hand it over to public CordovaHttpUpload() and send it out together with the files?
Best regards
Max
cordova.plugin.http.uploadFile("https://google.com/", {
id: '12',
message: 'test'
}, { Authorization: 'OAuth2: token' }, filePath, name, function(response) {
console.log(response.status);
}, function(response) {
console.error(response.error);
});
The text was updated successfully, but these errors were encountered: