HttpRequestMessage.GetHeaders(var HttpHeaders) Method
Version: Available or changed with runtime version 1.0.
Gets a reference to the collection of HTTP request headers.
Syntax
[Ok := ] HttpRequestMessage.GetHeaders(var Headers: HttpHeaders)
Parameters
HttpRequestMessage
Type: HttpRequestMessage
An instance of the HttpRequestMessage data type.
Headers
Type: HttpHeaders
A variable that will contain a reference to the collection of HTTP request headers after the method completes successfully.
Return Value
[Optional] Ok
Type: Boolean
true if the operation was completed successfully, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
See Also
HttpRequestMessage Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for