JavaScript write base64 image data to Dropbox using API v2
<p>I'm currently working on a feature for a web app using Dropbox. The feature involves some image editing using an HTML 5 Canvas and saving the canvas image to Dropbox.</p>
<p>I'm trying to get the canvas image converted to base64 image data and write directly to Dropbox using JavaScript on the client side only.</p>
<p>Since Dropbox API v1 is now deprecated,I'm trying to implement this in v2.</p>
<p>I've done some digging but most of the examples I can find were using the <code>writeFile</code> method in version 1 API, like this one: <a href="https://stackoverflow.com/questions/27524283/save-image-to-dropbox-with-data-from-canvas">Save image to dropbox with data from canvas</a></p>
<p>How may I get this to work with the v2 API?</p>