Basic Authentication in header
Below is an example how to use basic authentication in the SMTX WebServices
var username = "john"; var password = "pass123"; var basicauthvalue = CommonInterface.convertToBase64(username + ':' + password); return { updateheaders: { Authorization: "Basic " + basicauthvalue } };