Skip to content

Post multipart/form-data #20

@svnty

Description

@svnty

Hello,

How can I send an image to the server? I have a form that sends multipart/form-data but I can't figure out how to accept form data in nbit. There is a request.arrayBuffer() method which works when the only data being sent is an image but since my form has multiple parts the buffer is corrupted. What do I do when the data type isn't json?

You can view the minimal version of what I have created here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions