Uploading files to Google Cloud Storage #566
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
is there a way to upload files to
google cloud storageusing ng2-upload?please?
~ Marc
In ng2-file-upload/file-item.class.js, I had to change the POST request to a PUT request. For some reason google storage doesn't like POST I think..
For Uploader options, I also used disableMultiPart: true.
Then I used the google api to make a signed_url and used ng2-file-upload's upload() on this url.
@MrTerrorbyte if interested you can add a PR with your changes so and we can look at merging this into the package.