title: How can I upload an embedded image with JavaScript?
body: <p>I'd like to build a simple HTML page that includes JavaScript to perform a form POST with image data that is embedded in the HTML vs a file off disk. </p>
  
  <p>I've looked at this post which would work with regular form data but I'm stumped on the image data.</p>
  
  <p><a href="https://stackoverflow.com/questions/133925/javascript-post-request-like-a-form-submit">JavaScript post request like a form submit</a></p>