Cookie
Adds a list of cookies to the profile, allowing you to inject cookies before starting the profile. If cookies already exist for a domain, they will be replaced with the new ones.
post/profiles/{guid}/cookies
Path parameters
guidstring uuid required
The unique identifier of the profile
Request body
Example request
[
{
"domain": ".google.com",
"name": "_ga",
"path": "/gmail/about",
"value": "GA1.2-3.982544754.9825342343",
"httpOnly": true,
"secure": true,
"sameSite": "unspecified",
"expirationDate": 1568986993
}
]Response
OK.
Example response
[
{
"domain": ".google.com",
"name": "_ga",
"path": "/gmail/about",
"value": "GA1.2-3.982544754.9825342343",
"httpOnly": true,
"secure": true,
"sameSite": "unspecified",
"expirationDate": 1568986993,
"storeId": "0"
}
]