HttpHeaders.GetValues(Text, List of [Text]) Method

Version: Available or changed with runtime version 8.0.

Gets the values for the specified key.

Syntax

[Ok := ]  HttpHeaders.GetValues(Key: Text, Values: List of [Text])

Parameters

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

Key
 Type: Text
The specified header.

Values
 Type: List of [Text]
The specified header values.

Return Value

[Optional] Ok
 Type: Boolean
true if the specified header name and values are stored in the collection; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

See Also

HttpHeaders Data Type Get Started with AL Developing Extensions