Upload Files using Dropzone JS with regular HTTP request NOT AJAX

回眸只為那壹抹淺笑 提交于 2021-01-04 04:30:21

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!