Retrofit 2 : send files with json object
<p>I'm sending object in request body, something like that : </p>

<pre><code>{
  "title":"test",
  "description":"test",
  "images":[]
}

@POST("create-data")
Call&lt;JsonObject&gt; publishData(@Body MyObject object);
</code></pre>

<p>and it's work fine without the images. From the docs I can find how to upload file to server using <code>MultipartBody.Part</code>, my questions is :</p>

<ol>
<li>How can I upload multiple images at the same time?</li>
<li>Is it possible to send the images inside the object, or I need to send it separately and how ?</li>
</ol>

<p>thank you very much. </p>