{"action":"created","issue":{"url":"https://api.github.com/repos/rowanwins/vue-dropzone/issues/327","repository_url":"https://api.github.com/repos/rowanwins/vue-dropzone","labels_url":"https://api.github.com/repos/rowanwins/vue-dropzone/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/rowanwins/vue-dropzone/issues/327/comments","events_url":"https://api.github.com/repos/rowanwins/vue-dropzone/issues/327/events","html_url":"https://github.com/rowanwins/vue-dropzone/issues/327","id":322593089,"number":327,"title":"How to upload to S3 after getting the signed Url from the backend?","user":{"login":"harishankards","id":5006693,"avatar_url":"https://avatars0.githubusercontent.com/u/5006693?v=4","gravatar_id":"","url":"https://api.github.com/users/harishankards","html_url":"https://github.com/harishankards","followers_url":"https://api.github.com/users/harishankards/followers","following_url":"https://api.github.com/users/harishankards/following{/other_user}","gists_url":"https://api.github.com/users/harishankards/gists{/gist_id}","starred_url":"https://api.github.com/users/harishankards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harishankards/subscriptions","organizations_url":"https://api.github.com/users/harishankards/orgs","repos_url":"https://api.github.com/users/harishankards/repos","events_url":"https://api.github.com/users/harishankards/events{/privacy}","received_events_url":"https://api.github.com/users/harishankards/received_events","type":"User","site_admin":false},"labels":[{"id":415378642,"url":"https://api.github.com/repos/rowanwins/vue-dropzone/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-13T13:16:26Z","updated_at":"2018-05-15T09:28:19Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nIn my project, I'm using nodejs for backend API and vue for the frontend. I'm using this vue-dropzone in my project. \r\n\r\nSo, when a file is successfully uploaded into the frontend, I'm taking the filename and type to the backend to create a signedUrl to upload the files in AWS S3. Please refer to the code below.\r\n\r\n\r\n```js\r\ndropzoneOptions: {\r\n          url: 'http://localhost:3000/attachments', //I'm sending the req to my backend to get the signedUrl\r\n          thumbnailWidth: 150,\r\n          maxFilesize: 0.5,\r\n          headers: { 'Authorization': 'Bearer ' + this.token },\r\n          addRemoveLinks: true,\r\n          dictDefaultMessage: \"<i class='fa fa-cloud-upload'></i>UPLOAD ME\"\r\n        }\r\n```\r\nand the success function\r\n```js\r\nvsuccess (file, response) {\r\n        console.log('it is success', file, response) // this response has the signedUrl from my backend       \r\n      }\r\n```\r\n\r\nNow, that I have the signedUrl here, how do I send the file to the S3? \r\n\r\nIn the example provided by you [here](https://rowanwins.github.io/vue-dropzone/docs/dist/#/aws-s3-upload), the signedURL seemed to be put in a hardcoded way. \r\nBut, I'm doing in a dynamic way. So, how do I achieve that?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/rowanwins/vue-dropzone/issues/comments/389103653","html_url":"https://github.com/rowanwins/vue-dropzone/issues/327#issuecomment-389103653","issue_url":"https://api.github.com/repos/rowanwins/vue-dropzone/issues/327","id":389103653,"user":{"login":"abdulbasith7145","id":39292484,"avatar_url":"https://avatars0.githubusercontent.com/u/39292484?v=4","gravatar_id":"","url":"https://api.github.com/users/abdulbasith7145","html_url":"https://github.com/abdulbasith7145","followers_url":"https://api.github.com/users/abdulbasith7145/followers","following_url":"https://api.github.com/users/abdulbasith7145/following{/other_user}","gists_url":"https://api.github.com/users/abdulbasith7145/gists{/gist_id}","starred_url":"https://api.github.com/users/abdulbasith7145/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdulbasith7145/subscriptions","organizations_url":"https://api.github.com/users/abdulbasith7145/orgs","repos_url":"https://api.github.com/users/abdulbasith7145/repos","events_url":"https://api.github.com/users/abdulbasith7145/events{/privacy}","received_events_url":"https://api.github.com/users/abdulbasith7145/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T09:28:19Z","updated_at":"2018-05-15T09:28:19Z","author_association":"NONE","body":"@vrajroham \r\n I'm encountering an issue similar to this, can you please check this issue https://github.com/rowanwins/vue-dropzone/issues/328"}}
{"actor":{"display_login":"abdulbasith7145"}}