Cookies

The cookies array contains a set of objects which allow you to add cookies to your target request. The cookie object allows the fields listed below.


Fields

FieldTypeUsage
name requiredstringCookie name.
value requiredstringCookie value.
url optionalstringRequest-URI to associate with the cookie (default is target url).
domain optionalstringCookie domain.
path optionalstringCookie path.
expires optionalnumberCookie expiration as unix timestamp in seconds.
httpOnly optionalbooleanCookie http only flag.
secure optionalbooleanCookie secure flag.
sameSite optionalstringCookie same site definition. Possible values "Lax" or "Strict".

Example

{
"url": "https://news.ycombinator.com/",
"cookies": [
{
"name": "session_id",
"value": "I6OEz55nxGb7OczkROU59nYDm",
"expires": 1596763894,
"secure": true
}
]
}