{"action":"opened","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1733","repository_url":"https://api.github.com/repos/danialfarid/ng-file-upload","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1733/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1733/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1733/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/1733","id":181673871,"number":1733,"title":"WebKitBoundary header inserted in file","user":{"login":"rbrecheisen","id":912947,"avatar_url":"https://avatars.githubusercontent.com/u/912947?v=3","gravatar_id":"","url":"https://api.github.com/users/rbrecheisen","html_url":"https://github.com/rbrecheisen","followers_url":"https://api.github.com/users/rbrecheisen/followers","following_url":"https://api.github.com/users/rbrecheisen/following{/other_user}","gists_url":"https://api.github.com/users/rbrecheisen/gists{/gist_id}","starred_url":"https://api.github.com/users/rbrecheisen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbrecheisen/subscriptions","organizations_url":"https://api.github.com/users/rbrecheisen/orgs","repos_url":"https://api.github.com/users/rbrecheisen/repos","events_url":"https://api.github.com/users/rbrecheisen/events{/privacy}","received_events_url":"https://api.github.com/users/rbrecheisen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-07T13:50:36Z","updated_at":"2016-10-07T13:50:36Z","closed_at":null,"body":"So, hi again\r\n\r\nI was looking around a bit more and there's this [post](https://github.com/aws/aws-sdk-js/issues/547) on Github that mentions that the \"WebKitBoundary\" header may be inserted if you're trying to serialize and post the entire form to the URL in question. In their case they're uploading also to S3. They suggest (they're not using ng-file-upload) to assign the 'file' object directly to the 'data' parameter like so\r\n\r\n    $.ajax({\r\n      type: 'PUT',\r\n      url: signedUrl,\r\n      data: file,\r\n      success: callback\r\n    });\r\n\r\nI saw in your source code that you're using the FormData object. Again, I'm no expert on these things but might this be the reason? Is there a way to not send the form data but only the file object?\r\n\r\nThanks again for your time and patience!\r\n\r\nRalph"}}
{"actor":{"display_login":"rbrecheisen"}}