Answers for "post multipart array retrofit"

0

post multipart array retrofit

List<String> items = new ArrayList();
    items.add("1");
    items.add("2");
    items.add("3");

@Multipart
@POST("/")
Call<Result> yourMethod(@PartMap() Map<String, RequestBody> partMap, @PartMap() Map<String, RequestBody> map, @Part MultipartBody.Part file, @Part("items[]") List<String> items);
Posted by: Guest on November-02-2020

Browse Popular Code Answers by Language