I tried using this package but I'm confused about some missing features. Firstly, why can't I upload a List of Files with a body model?
Files are annotated with @Part
Body model is annotated with @Body
Secondly, when I upload a file with a body model, only the body is sent, and the file is not included in the request.
Thirdly, what if this function expects both a body and a file, but I only want to send the body? Should I create two functions to handle this, or is there another approach?
Please provide examples for uploading a body with multiple images and an example for uploading a single file with a body.
Dear ,
I tried using this package but I'm confused about some missing features. Firstly, why can't I upload a List of Files with a body model?
Files are annotated with @Part Body model is annotated with @Body Secondly, when I upload a file with a body model, only the body is sent, and the file is not included in the request.
Thirdly, what if this function expects both a body and a file, but I only want to send the body? Should I create two functions to handle this, or is there another approach?
Please provide examples for uploading a body with multiple images and an example for uploading a single file with a body.
Thank you.