nbit icon indicating copy to clipboard operation
nbit copied to clipboard

Post multipart/form-data

Open svnty opened this issue 1 year ago • 0 comments

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

svnty avatar Apr 11 '24 10:04 svnty