Add a cookie to request. This action is performed by adding/replacing Cookie
header in request.
Evaluation scope defines the timing where this filter will be applied.
requestHeaderReceivedFromClient This scope occurs the moment fluxzy parsed the request header receiveid from client
setRequestCookieAction
The following table describes the customizable properties available for this action:
Property | Type | Description | DefaultValue |
---|---|---|---|
name | string | Cookie name | |
value | string | Cookie value |
The following examples apply this action to any exchanges
Add request cookie with name session
and value 123456
.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: SetRequestCookieAction
name: session
value: 123456
View definition of SetRequestCookieAction for .NET integration.
The following actions are related to this action: