Set Cookies

GET https://postman-echo.com/cookies/set?foo1=bar1&foo2=bar2

The cookie setter endpoint accepts a list of cookies and their values as part of URL parameters of a GET request. These cookies are saved and can be subsequently retrieved or deleted. The response of this request returns a JSON with all cookies listed.

To set your own set of cookies, simply replace the URL parameters foo1=bar1&foo2=bar2 with your own set of key-value pairs.

Request Params

KeyDatatypeRequiredDescription
foo1string
foo2string

RESPONSES

status: OK

{"cookies":{"foo1":"bar","foo2":"bar"}}