Unable to use btoa(str) in Resource

I need to send a base64 encoded string in Authorization header of my requests.

If I put the Authorization header in app query, {{ btoa(current_user.email) }} works. However, if I move the same to Resource, it outputs undefined. Is btoa() not supported in Resource? Is there a way to pass in base64 encoded string to Resource?

I had a similar problem in beta workflows. Try opening a ticket w/ support, they may be able to assist.

@daphne-producepay Hey there! Unfortunately this is not currently possible on the Resource page, but you shouldn't run into any issues adding this to the header in app :+1: