I need to do 3rd party API calls with key and token those are available as secure iparams. So, I use those as
"Authorization": "<%= encode(iparam.apikey) : (iparam.apiToken) %>"
But got the error in Freshdesk with 400 status code.
Basically, for authorization, I need to have Base64(apiKey:apiToken).
Can you help with this?