---
title: "Sets cookie(s) as provided by the query string and redirects to cookie list."
url: "https://seriousmonkeybusiness.shermett.me/apis/httpbinorg-0/versions/cf5887fc-2a8e-440f-bf06-cb4d956f625f/operations/get_cookies_set"
---

> Full API specification: https://seriousmonkeybusiness.shermett.me/apis/httpbinorg-0/versions/cf5887fc-2a8e-440f-bf06-cb4d956f625f.md

# Sets cookie(s) as provided by the query string and redirects to cookie list.

`GET` `/cookies/set`

Operation ID: `get_cookies_set`

## Query parameters

- `freeform` (string, optional)

## Responses

- `200` - Redirect to cookie list

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: httpbin.org
  version: 0.9.2
servers:
  - url: https://httpbin.org
paths:
  /cookies/set:
    get:
      parameters:
        - allowEmptyValue: true
          explode: true
          in: query
          name: freeform
          schema:
            additionalProperties:
              type: string
            type: string
          style: form
      responses:
        "200":
          description: Redirect to cookie list
      summary: Sets cookie(s) as provided by the query string and redirects to cookie
        list.
      tags:
        - Cookies
      operationId: get_cookies_set
```
