a!httpAuthenticationBasic() Function

Note: this function is used only for the HTTP Upload and HTTP Download smart services. Authentication for general HTTP requests is managed using integrations and HTTP or Open API connected systems.

Function

a!httpAuthenticationBasic( username, password, preemptive )

Creates an object that contains the information required to perform HTTP Basic authentication.

Parameters

Keyword Type Description

username

Text

The username to use during the authentication. Created with a!scsField().

password

Text

The password to use during the authentication. Created with a!scsField().

preemptive

Boolean

Determines whether or not authentication credentials are sent only after a 401 Not Authorized response or, when true, before the system has challenged. Default: false.

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Partially compatible

Can be used with Appian Portals if it is connected using an integration and web API.

Offline Mobile Partially compatible

Can be used with offline mobile if it is loaded at the top of the form.

Custom Record Field Expressions Incompatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

Open in Github Built: Mon, Dec 05, 2022 (08:15:30 PM)

On This Page

FEEDBACK