No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    POSTing pure base64 encoded image with QUploader component

    Help
    1
    1
    295
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jmcdonnell last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post