Skip to content

Allow POST of multipart/form-data #158

@deadbeef84

Description

@deadbeef84

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions