Update Browser Cookie
Request
Method: POST
URL: /api/updateCookie
| Field | Type | Required | Description |
|---|---|---|---|
| id | int | yes | Profile ID |
| cookie.mode | int | no | 0 off, 1 on |
| cookie.value | string | no | Raw value |
| cookie.jsonStr | string | no | Cookie JSON array |
json
{
"id": 1,
"cookie": {
"mode": 1,
"jsonStr": "[]"
}
}Response
json
{
"success": true,
"message": "Cookie updated successfully"
}