Re: Best way to base64encode a jpeg file ?

2025-02-04 Thread Richard Gaskin via use-livecode
You're already reading the file as binary, and you're already encoding it with Base64. You've addressed the basics well. But we see the issue lies in a murkier place. Without the complete relevant code and the API spec, anything offered here would be just a guess. So let's guess: are you sen

Re: Best way to base64encode a jpeg file ?

2025-02-04 Thread Mark Talluto via use-livecode
Further to Richard’s suggestions, please provide a link to the docs for the service. We can check out the API and see precisely what is going on. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.

Re: Best way to base64encode a jpeg file ?

2025-02-04 Thread jbv via use-livecode
I am stuck. No matter what I try, I always get the same error : "url" field must be a base64 encoded image So I'm back to my very first question : how to base64encode a jpeg file in LC to be used in a regular multimodal json curl request... Le 2025-02-03 19:00, Richard Gaskin via use-livecode