{"action":"created","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2451","repository_url":"https://api.github.com/repos/Alamofire/Alamofire","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2451/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2451/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2451/events","html_url":"https://github.com/Alamofire/Alamofire/issues/2451","id":299757909,"number":2451,"title":"Uploading MultipartFormData with base64 image data","user":{"login":"bribar","id":10064729,"avatar_url":"https://avatars3.githubusercontent.com/u/10064729?v=4","gravatar_id":"","url":"https://api.github.com/users/bribar","html_url":"https://github.com/bribar","followers_url":"https://api.github.com/users/bribar/followers","following_url":"https://api.github.com/users/bribar/following{/other_user}","gists_url":"https://api.github.com/users/bribar/gists{/gist_id}","starred_url":"https://api.github.com/users/bribar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bribar/subscriptions","organizations_url":"https://api.github.com/users/bribar/orgs","repos_url":"https://api.github.com/users/bribar/repos","events_url":"https://api.github.com/users/bribar/events{/privacy}","received_events_url":"https://api.github.com/users/bribar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-23T15:54:49Z","updated_at":"2018-02-23T16:56:14Z","closed_at":"2018-02-23T16:56:14Z","author_association":"NONE","body":"Hello,\r\n\r\nI tried sticking with StackOverflow like suggested and gave it a week, but I received no response to my issue.\r\n\r\nhttps://stackoverflow.com/questions/48818362/uploading-multipartformdata-with-base64-image-data\r\n\r\nI don't think it's an issue on my end because I have had no issue with requests without an image. API server-side works fine with normal requests, except if I add the image data base64 encoded, Alamofire times out. I really don't want to switch to another library since I already use Alamofire throughout the project, so any help would be appreciated.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/comments/368069115","html_url":"https://github.com/Alamofire/Alamofire/issues/2451#issuecomment-368069115","issue_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2451","id":368069115,"user":{"login":"bribar","id":10064729,"avatar_url":"https://avatars3.githubusercontent.com/u/10064729?v=4","gravatar_id":"","url":"https://api.github.com/users/bribar","html_url":"https://github.com/bribar","followers_url":"https://api.github.com/users/bribar/followers","following_url":"https://api.github.com/users/bribar/following{/other_user}","gists_url":"https://api.github.com/users/bribar/gists{/gist_id}","starred_url":"https://api.github.com/users/bribar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bribar/subscriptions","organizations_url":"https://api.github.com/users/bribar/orgs","repos_url":"https://api.github.com/users/bribar/repos","events_url":"https://api.github.com/users/bribar/events{/privacy}","received_events_url":"https://api.github.com/users/bribar/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T16:56:14Z","updated_at":"2018-02-23T16:56:14Z","author_association":"NONE","body":"I found the issue myself. After testing uploading an icon from the assets folder, I realized an image from the camera is huge and requires resizing before the Alamofire request.\r\n\r\nI don't know if this is documented somewhere already, couldn't find it myself, but it would be nice to know a max size an image can be to avoid timeout? For now, I can get by resizing it to a size I know works.\r\n\r\nThanks!"}}
{"actor":{"display_login":"bribar"}}