Skip to content
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

Retrofit Requests #658

Open
Moatamed8 opened this issue Feb 19, 2024 · 1 comment
Open

Retrofit Requests #658

Moatamed8 opened this issue Feb 19, 2024 · 1 comment

Comments

@Moatamed8
Copy link

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.

@lailai0715
Copy link

I'm also facing this issue, any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants