want to use a javascript function on a secure setting
"parameters": [
{
"name": "api_token",
"type": "text",
"required": true,
"secure": true
}
]
using above setting
var settings = {
URL: "Some url",
headers: {"Authorization": `Basic ${btoa{{apiKey}}}`},
secure: true,
type: 'GET',
dataType: 'json'
};