nbit
nbit copied to clipboard
Post multipart/form-data
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