-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to upload ArrayList of objects inside object there is image file ? #3853
Comments
public class EmployeeRequest {
} public interface MyApiService { // create a Retrofit instance // create an instance of the MyApiService interface // create a list of files // create a License object // create a list of License objects // create an instance of the EmployeeRequest class // make the API call |
Arraylist of objects inside object there is file and id how to send this type of request in retrofit 2.0 ?
{
name:Employee one
phone:9876543210
companyName:ows
abn:ows1234
licenses[0].license[0] file
licenses[0].license[1] file
licenses[0].id:1
}
how to send above type of request in android retrofit 2 ?
The text was updated successfully, but these errors were encountered: