v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
🚰 Kitchen Sink

Set cookie

The API endpoint allows you to set cookies on the client's browser as part of the response.

When accessing this endpoint, you can include specific cookie information in the response headers, which will be stored by the client's browser for future requests.

This functionality enables you to set and manage cookies on the client side, which can be used for various purposes such as session management, user authentication, personalization, or tracking user preferences within your application.

post/kitchen-sink/cookies/set

Request body

foostring

Example request

{
  "foo": "bar"
}

Response

Set cookie

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "cookies": {
      "foo": "bar"
    }
  },
  "message": "Cookie has been set",
  "statusCode": 200,
  "success": true
}