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

Handle upload/download raw files #3

Open
chriskapp opened this issue May 13, 2023 · 0 comments
Open

Handle upload/download raw files #3

chriskapp opened this issue May 13, 2023 · 0 comments

Comments

@chriskapp
Copy link
Member

Currently our SDK can only work with JSON payloads. We should also add support for file up/download. This means for uploads our client SDK needs to send an multipart/form-data request to the endpoint. For downloads we simply need to return the raw body content without trying to convert the body into a specific object. For file up/download we are not able to describe the body payload so we need some kind of dummy schema which tells the user that this is a raw file.

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

1 participant