-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
It's quite possible I'm doing this completely wrong -- I couldn't find any examples of S3 uploads. We're using pre-signed URLs from our API. This code hits the correct URL but doesn't include any formData at all. What do I need to do?
$ctrl.uploader = new FileUploader(uploaderOptions);
$ctrl.uploader.onAfterAddingFile = function(item) {
UploadFactory.getPresignedUrl().then(function(response) {
item.url = response.data.attrs.action;
item.formData = response.data.additionalData;
item.upload();
}, HandleError);
};
Thank you for your help on this and for working on this package!
Metadata
Metadata
Assignees
Labels
No labels