HttpHeaders.ContainsSecret(Text) Method

Version: Available or changed with runtime version 12.0.

Returns if the header for the given key has a secret value.

Syntax

[Ok := ]  HttpHeaders.ContainsSecret(Key: Text)

Parameters

HttpHeaders
 Type: HttpHeaders
An instance of the HttpHeaders data type.

Key
 Type: Text
The specified header.

Return Value

[Optional] Ok
 Type: Boolean
true if the specified header name and values are stored as a secret; otherwise false.

HttpHeaders Data Type
Getting Started with AL
Developing Extensions