Closed ddsky closed 4 years ago
Please see: https://pqina.nl/filepond/docs/patterns/api/server/#process
Along with the file object, FilePond also sends the file metadata to the server, both these objects are given the same name.
Is there any way to disable FilePond from sending the file metadata to the server?
Hi, currently not, you'd have to set up a custom processing method, you can use this one: https://pqina.nl/filepond/docs/api/server/#process-1
Summary
There are two fields with the same name in the post request, one is
{"color":null}
which I don't know where it would come from. This is the post request by filepond after simply dropping one image:How to reproduce
Just use the sample HTML code from this tutorial: https://pqina.nl/filepond/docs/patterns/frameworks/vue/
Select an image and you can see the faulty post request in the browsers developer bar.
Expected behaviour
Upload a file instead of {color:null}
Additional information