{"action":"created","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/811","labels_url":"https://api.github.com/repos/square/retrofit/issues/811/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/811/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/811/events","html_url":"https://github.com/square/retrofit/issues/811","id":68982145,"number":811,"title":"How to send array of Strings with multipart request to result in a[]=\"S1\" a[]=\"S2\" ...","user":{"login":"kayvannj","id":2337268,"avatar_url":"https://avatars.githubusercontent.com/u/2337268?v=3","gravatar_id":"","url":"https://api.github.com/users/kayvannj","html_url":"https://github.com/kayvannj","followers_url":"https://api.github.com/users/kayvannj/followers","following_url":"https://api.github.com/users/kayvannj/following{/other_user}","gists_url":"https://api.github.com/users/kayvannj/gists{/gist_id}","starred_url":"https://api.github.com/users/kayvannj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayvannj/subscriptions","organizations_url":"https://api.github.com/users/kayvannj/orgs","repos_url":"https://api.github.com/users/kayvannj/repos","events_url":"https://api.github.com/users/kayvannj/events{/privacy}","received_events_url":"https://api.github.com/users/kayvannj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-16T18:25:56Z","updated_at":"2015-04-16T18:59:04Z","closed_at":null,"body":"I found this issue and my problem is very similar to it\r\nhttps://github.com/square/retrofit/issues/472\r\n\r\nthe only difference is that I want this to happen on multipart-post requests.\r\n\r\nCurrently it will post the array/list as one part like this:\r\n\r\n```\r\n--84ff8f5f-69ce-49e4-bc16-e43e221a6e2b\r\nContent-Disposition: form-data; name=\"user_ids[]\"\r\nContent-Type: application/json; charset=UTF-8\r\nContent-Length: 21\r\nContent-Transfer-Encoding: binary\r\n\r\n[\"5531687\",\"5371507\"]\r\n```\r\n\r\nWhat I need is this:\r\n\r\n```\r\n--Boundary+0xAbCdEfGbOuNdArY\r\nContent-Disposition: form-data; name=\"user_ids[]\"\r\n\r\n5531687\r\n--Boundary+0xAbCdEfGbOuNdArY\r\nContent-Disposition: form-data; name=\"user_ids[]\"\r\n\r\n5371507\r\n```\r\n\r\nhere is how I create the request:\r\n\r\n```\r\n@Multipart\r\n@POST(\"/api/v1/inbox\")\r\nvoid conversationPostNewMessage(@Part(\"user_ids[]\") String[] ids, @Part(\"attachments[]\") TypedFile attachment, Callback<Object> callback);\r\n```\r\n\r\nI'm using v1.9.0.\r\n\r\nThank you in advance."},"comment":{"url":"https://api.github.com/repos/square/retrofit/issues/comments/93815302","html_url":"https://github.com/square/retrofit/issues/811#issuecomment-93815302","issue_url":"https://api.github.com/repos/square/retrofit/issues/811","id":93815302,"user":{"login":"kayvannj","id":2337268,"avatar_url":"https://avatars.githubusercontent.com/u/2337268?v=3","gravatar_id":"","url":"https://api.github.com/users/kayvannj","html_url":"https://github.com/kayvannj","followers_url":"https://api.github.com/users/kayvannj/followers","following_url":"https://api.github.com/users/kayvannj/following{/other_user}","gists_url":"https://api.github.com/users/kayvannj/gists{/gist_id}","starred_url":"https://api.github.com/users/kayvannj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayvannj/subscriptions","organizations_url":"https://api.github.com/users/kayvannj/orgs","repos_url":"https://api.github.com/users/kayvannj/repos","events_url":"https://api.github.com/users/kayvannj/events{/privacy}","received_events_url":"https://api.github.com/users/kayvannj/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T18:59:04Z","updated_at":"2015-04-16T18:59:04Z","body":"Ok, Thanks Jake."}}