How do you encode to base64? I don’t remember that base64 message could contain an underscore: “_”
Example: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
How do you encode to base64? I don’t remember that base64 message could contain an underscore: “_”
Example: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
I use this website:
I feel that, even if you may be saying something valid, my problem is not with that part of the API call, but rather the JSON structure as a whole.
I´ve also tried selecting the option: “Perform URL-safe encoding (uses Base64URL format)”, which does provide an encoded string without underscores and I get the exact same problem …
I´ve solved this now, it was a matter of changing the name of the array param ¨b64¨to ¨content¨. Not quite what Google docs say but I saw it in a Python code sample and worked!