title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
HttpHeaders.TryAddWithoutValidation(Text, SecretText) Method |
Adds the specified secret header and its value into the HttpHeaders collection. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 12.0.
Adds the specified secret header and its value into the HttpHeaders collection. Doesn't validate the provided value.
[Ok := ] HttpHeaders.TryAddWithoutValidation(Name: Text, Value: SecretText)
HttpHeaders
Type: HttpHeaders
An instance of the HttpHeaders data type.
Name
Type: Text
The header to add to the collection.
Value
Type: SecretText
The content of the header.
[Optional] Ok
Type: Boolean
true if the value was added successfully, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
HttpHeaders Data Type
Getting Started with AL
Developing Extensions