I have successfully used retrofit for sending objects like this
Code
@POST("/v2/createCustomer") void createCustomer(@Body Customer customer, CallbackCustomer> callback);Customer class is like this.
Code
class Customer{ String name; String address; }But i want another Parameter in customer object. That is to insert file. which is captured from mobile. To do this what else i want to change. Give one example

Answers
Know the answer? Post it. Somebody with the same question will find it here.