Closed codcodea closed 2 years ago
The boundary in the Content-Type header of the request doesn't match that of the boundary used in the payload.
Thanks for your time! I set the header explicitly to 'Content-Type': 'multipart/form-data; boundary=XXX'. On your input I removed the headers for Content-Type completely to let WebKitFormBoundary do its own thing. Thanks!
Hi @codcodea , I removed the headers and still getting the same error :'( Any help?
same error...
Everything works for me when posting from the native < form > element, but I want to post from javascript formData() that is supposed to mimic the native