-
Notifications
You must be signed in to change notification settings - Fork 24
GetCookie
Miriam McMahon edited this page Apr 27, 2023
·
6 revisions
Get the value of a cookie from cookie storage.
Parameter Name | Description | Type | Resolved Type | Required |
---|---|---|---|---|
Name | The name of the required cookie | Value | String | Yes |
Domain | The domain of the required cookie | Value | String | Yes |
Path | The path of the required cookie; defaults to / | Value | String | No |
VariableName | The name of the variable to create or update with the cookie's value | String | String | Yes |
This command was introduced in Safeguard 2.8
Example:
{
"GetCookie": {
"Name": "session_cookie",
"Domain": "example.com",
"Path": "/api",
"VariableName": "SessionId"
}
}