Basic Authentication in header: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

19 January 2024

  • curprev 10:2410:24, 19 January 2024Smtxwiki talk contribs 301 bytes +301 Created page with "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 } };"