title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
HttpRequestMessage.SetCookie(Cookie) Method |
Sets the cookie given a cookie object. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 13.0.
Sets the cookie given a cookie object.
[Ok := ] HttpRequestMessage.SetCookie(Cookie: Cookie)
HttpRequestMessage
Type: HttpRequestMessage
An instance of the HttpRequestMessage data type.
Cookie
Type: Cookie
The cookie object.
[Optional] Ok
Type: Boolean
true if the cookie was successfully set, false otherwise. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
HttpRequestMessage Data Type
Getting Started with AL
Developing Extensions