Example: /api/cookies/set?theme=dark&lang=en sets theme and lang with Path=/. At most 20 cookies; names must be RFC 6265 tokens (1-64 characters) and values at most 256 characters.Example: … sets theme and lang with Path=/. At most 20 cookies; names must be RFC 6265 tokens (1-64 characters) and values at most 256 characters.
Responses
200
The cookies that were set.
400
No query parameters, too many cookies, or an invalid name or value.
The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.