I am trying to send MultiPartEntity
to the server to upload an image.
I have to send data to the server with a MultiPartEntity
, The following is a sample request.
{
"user": {
"id": "12345",
"primary_account_id": "43566"
},
"poster_photo": {
"title": "photo test",
"image": *uploaded image
}
}
Does anyone have an idea on how to do this?
Please help me solve this.