You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: