Open abolabo opened 12 months ago
Recommend - for such cases - you should write an intermediate middleware web server API that reads the standard FILE upload request from this plugin (just like how you would from a HTML native file input) and then from the middleware call the custom dropbox API to transform/ upload files to the cloud with the necessary settings, file conversions and the necessary access authorizations. It maybe difficult to standardize this at plugin level as to what is needed by which cloud upload vendor. Open to suggestions though if anything else can be done.
Hi. Your plugin is great. Thank you your good work.
I got a problem with uploading files on dropbox via ajax. I had changed http-headers with 'filepreajax', added bearer token and some custom header of dropbox
Problem is in data on dropbox side. If i send jpeg file it cannot be previewed on their side. Content of file is
As you see plugin adds headers as content.
Is there way to set "raw"-mode for sending file via ajax?
Dropbox documentation suggest do this
where file is an file object.