🚰 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
Example request
{
"foo": "bar"
}Response
Set cookie
Example response
{
"data": {
"cookies": {
"foo": "bar"
}
},
"message": "Cookie has been set",
"statusCode": 200,
"success": true
}