thanks for providing the base64 example above. I have conversion to base64 working, but the back-end is set up to receive a pure base64 encoded string, not one wrapped in a ------WebKitFormBoundary.
How can I POST the exact same data that is logged to the console and avoid it being wrapped in:
Content-Disposition: form-data; name=“Capture.PNG”; filename=“Capture.PNG”
Thanks a lot!