Correct Syntax to Base64 Encode a String Constant in Server Action Step

I need to base64 encode my username/password for authorisation to an api, and I want to be sure I have the syntax right.

Would it be this?

{{'myusername:mypassword'.encodeBase64()}}

With the single quotes around the string myusername:mypassword?

Community Page
Last updated: