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

Post multipart/form-data #20

Open
svnty opened this issue Apr 11, 2024 · 0 comments
Open

Post multipart/form-data #20

svnty opened this issue Apr 11, 2024 · 0 comments

Comments

@svnty
Copy link
Contributor

svnty commented Apr 11, 2024

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

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