Here the code I try to use, I tried to debug it but I can't see any reason why it fails.
It seems the function bound to "/upload" does not get executed when called from JavaScript.
Uploading with :method :post :action "/upload" does work fine but I can't manage to make the JavaScript one work.
Thank you for your time!
Here the code I try to use, I tried to debug it but I can't see any reason why it fails. It seems the function bound to "/upload" does not get executed when called from JavaScript. Uploading with
:method :post :action "/upload"
does work fine but I can't manage to make the JavaScript one work. Thank you for your time!