title: Upload a canvas image to imgur (api v3) with javascript
body: <p>I'm building a funny Chrome-Experiment. The Mustache Mirror! <a href="http://sjoerddijkstra.nl/cam/" rel="noreferrer">http://sjoerddijkstra.nl/cam/</a>
  I want to use the Imgur API V3 to upload an image from te canvas to Imgur and then show the link, but I really don't know how. All the working examples I find are using the V2 API...</p>
  
  <p>I use canvas.toDataURL:</p>
  
  <pre><code>var dataURL = canvas.toDataURL("image/png");
  return dataURL.replace(/^data:image\/(png|jpg);base64,/, "");
  </code></pre>