问题
Currently I am using Dropzone JS to upload files to server along with some form data. here dropzone JS uploads all form data using ajax request. but i want to send data using regular http request. How can i achieve this ?
Update
Actually i want to perform some redirection based on few conditions after submitting form data along with files. So i need regular HTTP request. i tried autoProcessQueue
but no use becuase after submitting , Dropzone is using XMLHttp
request to send data.
回答1:
DROPZONE doesn't support regular HTTP file upload.
Here is the issue on github.
Comment by Author enyo is : No. But you can listen to the success event and redirect the page after it uploaded
来源:https://stackoverflow.com/questions/31980184/upload-files-using-dropzone-js-with-regular-http-request-not-ajax