I am calling a Python Flask REST service which returns a Base64Encoded file result.
In FileMaker, I am first writing that Base64 data to a text field and then doing a Base64Decode("text field; path_to_file).
Since Base64Decode doesn't seem to work on a variable like $base64Encoded that the INSERT FROM URL creates as its target, I created this extra step. Also INSERT FROM URL, if I used a field instead of a variable, doesn't let me use a function on the Target field result.
So, three script lines which isn't too bad.
I wanted to ask though if I missed something about how Base64Decode works. Since it wants a "field" and not a variable, I added the extra step to the script.
Thanks for any suggestions for improvement.