I am trying to upload files using the filepond library. I am using python flask as backend.
Here is the code I am trying to use to get the files
uploaded_files = request.files.getlist("file")
print("Uplaoded Files are")
print(uploaded_files)
This keeps returning me a null array.
The following is my html code:
<form action="/", method='post', enctype='multipart/form-data'>
<input type="file" class='filepond' name='file' multiple />
</form>
I have also linked the file pond libraries for JS and CSS.
Please help me find whats the issue.