cURL
curl --request POST \ --url https://api.reworkd.dev/v1/cookies \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '[ { "domain": "<string>", "path": "", "name": "<string>", "value": "<string>", "secure": true, "http_only": true, "expires": "2023-11-07T05:31:56Z" } ]'
"<any>"
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type CookieUpsert · object[].
CookieUpsert · object[]
Successful Response
The response is of type any.
any