http.request.cookies
http.request.cookies
Map<Array<String>> The Cookie
HTTP header associated with a request represented as a Map (associative array).
Requires a Cloudflare Pro, Business, or Enterprise plan.
The cookie names are URL decoded. If two cookies have the same name after decoding, their value arrays are merged.
The cookie values are not pre-processed and retain the original case used in the request.
Example value:
{ "app": ["test"] }
Example usage:
any(http.request.cookies["app"][*] == "test")
Categories:
- Request
- Headers
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark