I use DropzoneJS library to upload files on my website. Now, I want to create my own function to upload queued files.
I know, I can get all these files in that way:
files = myDropzone.getQueuedFiles();
But how I can now create an ajax request to send these files? I need something like file_get_contents()
function (as in PHP) to get content of these files and then send ajax post with that params.
Thanks for your help.