HttpResponseMessage.GetCookie(Text, var Cookie) Method
Version: Available or changed with runtime version 13.0.
Gets the specified cookie given a name.
Syntax
[Ok := ] HttpResponseMessage.GetCookie(Name: Text, var Cookie: Cookie)
Parameters
HttpResponseMessage
Type: HttpResponseMessage
An instance of the HttpResponseMessage data type.
Name
Type: Text
The name of the cookie.
Cookie
Type: Cookie
The cookie object.
Return Value
[Optional] Ok
Type: Boolean
true if the specified cookie was found, false otherwise. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
See Also
HttpResponseMessage Data Type
Getting 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