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

Allow POST of multipart/form-data #158

Open
deadbeef84 opened this issue Mar 18, 2021 · 0 comments
Open

Allow POST of multipart/form-data #158

deadbeef84 opened this issue Mar 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@deadbeef84
Copy link

It would be great if the client.post(endpoint, parameters) method allowed sending multipart form data, e.g for media upload.

One way to do it, and put the responsibility on the user, would be to allow parameters to be a ReadableStream, or FormData for browsers, and allow specifying content-type header.

@rlueder rlueder added the enhancement New feature or request label Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants