{"action":"opened","issue":{"url":"https://api.github.com/repos/radify/angular-file/issues/8","labels_url":"https://api.github.com/repos/radify/angular-file/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/radify/angular-file/issues/8/comments","events_url":"https://api.github.com/repos/radify/angular-file/issues/8/events","html_url":"https://github.com/radify/angular-file/issues/8","id":57939440,"number":8,"title":"How does it work?","user":{"login":"AlexCppns","id":2163674,"avatar_url":"https://avatars.githubusercontent.com/u/2163674?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexCppns","html_url":"https://github.com/AlexCppns","followers_url":"https://api.github.com/users/AlexCppns/followers","following_url":"https://api.github.com/users/AlexCppns/following{/other_user}","gists_url":"https://api.github.com/users/AlexCppns/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexCppns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexCppns/subscriptions","organizations_url":"https://api.github.com/users/AlexCppns/orgs","repos_url":"https://api.github.com/users/AlexCppns/repos","events_url":"https://api.github.com/users/AlexCppns/events{/privacy}","received_events_url":"https://api.github.com/users/AlexCppns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-17T15:40:32Z","updated_at":"2015-02-17T15:40:32Z","closed_at":null,"body":"I am not familiar with how file upload works but I have been testing that library and my backend does not seem to understand the format of the file object being sent, usually I expect something like this in the params sent to the backend:\r\n\r\n```\r\n\"image\"=> #<ActionDispatch::Http::UploadedFile:0x007fb3a2af0228 @tempfile=#<Tempfile:/var/folders/hr/6tvwjdk966q3p5z2hgz4gfgc0000gp/T/RackMultipart20150217-51414-4b4l8>, @original_filename=\"DAA_1412_BYOS_NTL_Dodge_tablet_300x250_EN.jpg\", @content_type=\"image/jpeg\", @headers=\"Content-Disposition: form-data; name=\\\"creative[image]\\\"; filename=\\\"DAA_1412_BYOS_NTL_Dodge_tablet_300x250_EN.jpg\\\"\\r\\nContent-Type: image/jpeg\\r\\n\">\r\n```\r\n\r\nbut this time I got:\r\n\r\n```\r\n\"image\"=> {\"webkitRelativePath\"=>\"\", \"lastModified\"=>1418849917000, \"lastModifiedDate\"=>\"2014-12-17T20:58:37.000Z\", \"name\"=>\"DAA_1412_BYOS_NTL_Dodge_tablet_160x600_EN.jpg\", \"type\"=>\"image/jpeg\", \"size\"=>20060}\r\n```"}}