hello,
I want to use the javascript extension to send an image to an external API for analysis. when I try to send the image as a parameter with the pulldata (ex: pulldata ("@ javascript", "myFunctions.js" ", $ {image}), I get the name of the image on the javascript side.
Do you have a solution for me to transmit the complete image (encoded 32 or 64) on the javascript side?
Thank you
Hi. It is not possible to pass the encoded image into a custom JS function. Additionally, it will be very difficult for you to control when exactly your JS function executes, causing multiple uploads of your image to your service.
As alternatives: