Add a cookie to request. This action is performed by adding/replacing Cookie header in request.

Evaluation scope

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

YAML configuration name



The following table describes the customizable properties available for this action:

Property Type Description DefaultValue
name string Cookie name
value string Cookie value

Example of usage

The following examples apply this action to any exchanges

Add request cookie with name session and value 123456.

- filter:
    typeKind: AnyFilter
  - typeKind: SetRequestCookieAction
    name: session
    value: 123456

.NET reference

View definition of SetRequestCookieAction for .NET integration.

See also

The following actions are related to this action:

Go back to list