Endpoint

GET/utilities/set-cookies

Returns a response with three Set-Cookie headers, each using a different path and max-age, for testing cookie handling.

Cookies created

Cookie Path Max-Age
cookie1=111 /cookie1 1200 seconds (20 minutes)
cookie2=222 /cookie2 2400 seconds (40 minutes)
cookie3=333 /cookie3 3600 seconds (60 minutes)

Because each cookie is scoped to its own path, a browser will only send one of them back on any given request.

Usage example

curl -i https://your-service.edgecompute.app/utilities/set-cookies

Expected response

HTTP/1.1 200 OK
Cache-Control: private, no-store
Set-Cookie: cookie1=111; path=/cookie1; max-age=1200
Set-Cookie: cookie2=222; path=/cookie2; max-age=2400
Set-Cookie: cookie3=333; path=/cookie3; max-age=3600

Nice cookies!

Ready to test?

Fetch the endpoint and check what your client stores.

Set the test cookies