AnsweredAssumed Answered

upload file with xhr?

Question asked by bgvc on Mar 6, 2014
Latest reply on Mar 12, 2014 by bgvc
Hello
I try to use a dropzone.js plugin to upload some file …. I use POST method and in my console I have:
OPTIONS https://......alfresco/service… 405 (Method Not Allowed)
OPTIONS https://......alfresco/service… Invalid HTTP status code 405
XMLHttpRequest cannot load https://...../alfresco/service/….. Invalid HTTP status code 405

But when I try a simple <form> input=file method=post action=alfresco/service… in a html page without plugin,it works fine,

How can I fix that ? it only caused by dropzone.js…

(I tried to put another action=url with other server it works fine too…just with alfresco service I have error 405 and method=OPTIONS ….)

Outcomes