{"action":"closed","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/1063","labels_url":"https://api.github.com/repos/square/retrofit/issues/1063/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/1063/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/1063/events","html_url":"https://github.com/square/retrofit/issues/1063","id":105195879,"number":1063,"title":"How to Upload a File using Retrofit 2.0","user":{"login":"vivekkiran","id":5557539,"avatar_url":"https://avatars.githubusercontent.com/u/5557539?v=3","gravatar_id":"","url":"https://api.github.com/users/vivekkiran","html_url":"https://github.com/vivekkiran","followers_url":"https://api.github.com/users/vivekkiran/followers","following_url":"https://api.github.com/users/vivekkiran/following{/other_user}","gists_url":"https://api.github.com/users/vivekkiran/gists{/gist_id}","starred_url":"https://api.github.com/users/vivekkiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivekkiran/subscriptions","organizations_url":"https://api.github.com/users/vivekkiran/orgs","repos_url":"https://api.github.com/users/vivekkiran/repos","events_url":"https://api.github.com/users/vivekkiran/events{/privacy}","received_events_url":"https://api.github.com/users/vivekkiran/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-07T11:06:14Z","updated_at":"2015-09-07T23:25:25Z","closed_at":"2015-09-07T23:25:25Z","body":"How to upload a file using multipart/form-data upload in Retrofit 2.0, I am unable to upload and there is no proper documentation anywhere on uploading file using retrofit 2.0, I followed the docs in retrofit website but I was not able to make it work. \r\n\r\nAll the examples I see used TypedFile. It is not clear how to use RequestBody. Please post sample code."}}