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

how to pass image name dynamically #1349

Closed
HariKvana opened this issue Dec 8, 2015 · 2 comments
Closed

how to pass image name dynamically #1349

HariKvana opened this issue Dec 8, 2015 · 2 comments

Comments

@HariKvana
Copy link

Hi please help me out..

@multipart
@post("/v1/vaults/{vaultId}/blobs")
Call createBlob(@Header("Authorization") String authorization, @path("vaultId") String voltKey, @part("file"; filename="image.png" ") RequestBody requestBody);

In this I am passing filename as image.png, But how to pass it dynamically?

@NikoYuwono
Copy link

Refer to this one [#1063](%28comment%29 #1063 (comment))

@JakeWharton
Copy link
Collaborator

Dupe of #1140.

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

3 participants