POSTing pure base64 encoded image with QUploader component



  • Re: How to encode image to base64 in q-uploader?

    Hi there,
    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:
    ------WebKitFormBoundaryDWKbL7u1IPO3QhOB
    Content-Disposition: form-data; name=“Capture.PNG”; filename=“Capture.PNG”
    Content-Type: image/png

    ------WebKitFormBoundaryDWKbL7u1IPO3QhOB–

    Thanks a lot!


Log in to reply