Overview

The Cookie Jar feature provides comprehensive cookie management for your API testing needs. View, edit, organize, and control cookies just like a web browser, perfect for testing APIs that require session management, authentication cookies, or other cookie-based functionality.

🍪 Cookie Jar + Add Cookie 🔍 Filter by domain... NAME VALUE DOMAIN EXPIRES session_id abc123xyz... .example.com 2025-12-31 auth_token eyJhbGc... api.example.com Session user_pref theme=dark .example.com 2026-01-15 3 cookies stored
Automatic Integration: Cookies from the Cookie Jar are automatically included in requests when domain and path match!

Key Features

View All Cookies

See all stored cookies in one centralized location with detailed properties.

Organize by Domain

Group cookies by domain for easy navigation and management.

Add Cookies Manually

Create cookies with full control over all properties.

Edit & Update

Modify existing cookies on the fly.

Export/Import

Save cookies to JSON and import them later or share with team.

Search & Filter

Quickly find cookies by name, value, or domain.

Accessing the Cookie Jar

Click Cookies Button

Find the 🍪 Cookies button in the top header bar.

Test Environment ▼ 🍪 Cookies

Cookie Jar Opens

A modal window appears showing your cookie management interface.

🍪 Cookies 🍪 Cookie Jar session_id: abc123... auth_token: eyJhbGc...

Viewing Cookies

Cookie Display

Each cookie shows:

NAME VALUE DOMAIN EXPIRES ACTIONS session_id abc123xyz789 .example.com 2025-12-31 23:59 ✏️ 🗑️ auth_token eyJhbGciOiJIUzI1NiIsInR5... api.example.com Session ✏️ 🗑️ user_pref theme=dark;lang=en .example.com 2026-01-15 12:00 ✏️ 🗑️ _ga GA1.2.1234567890.1699876543 .google-analytics.com 2027-11-28 ✏️ 🗑️ 4 cookies • Sorted by domain

Organization Options

Choose how to view your cookies:

📄 List All

Flat list showing all cookies in one view

📁 Group by Domain

Organize cookies under their respective domains

All Cookies By Domain • session_id (.example.com) • auth_token (api.example.com) • _ga (.google-analytics.com) 📁 .example.com (2 cookies) └─ session_id └─ user_pref 📁 api.example.com (1 cookie) └─ auth_token

Statistics Dashboard

Top of the Cookie Jar shows real-time statistics:

24 Total Cookies 7 Domains 18 🔒 Secure 12 HttpOnly

Adding Cookies

Click "Add Cookie" Button

Click the ➕ Add Cookie button at the top of the Cookie Jar.

Fill Cookie Form

Enter cookie details in the form:

➕ Add New Cookie Name * session_token Value * abc123xyz789 Domain * .example.com Expires 2025-12-31 Secure HttpOnly Cancel Add Cookie

Required Fields

Field Description Example
Name* Cookie identifier session_token
Domain* Domain where cookie applies api.example.com

Optional Fields

Field Description Example
Value Cookie data/content abc123xyz
Path URL path (default: /) /api
Expires Expiration date/time 2025-12-31T23:59:59
Secure HTTPS-only flag ✅ Checked
HttpOnly Prevent JavaScript access ✅ Checked
SameSite Cross-site behavior Lax, Strict, None

Click "Add Cookie"

Save the cookie to your Cookie Jar.

Add Cookie ✓ Cookie Added Successfully!

Editing Cookies

Find the Cookie

Locate the cookie you want to edit in the list.

Click Edit Button (✏️)

Click the pencil icon next to the cookie.

Modify Fields

Change any cookie properties in the edit form.

✏️ Edit Cookie Name session_token Value * newValue123xyz Domain * .example.com Expires 2025-12-31 Cancel 💾 Save Changes

Save Changes

Click "💾 Save Changes" to update the cookie.

Before: session_token oldValue789 ✏️ After: session_token newValue123xyz ✓

Deleting Cookies

Delete Single Cookie

Click the 🗑️ button next to any cookie to delete it individually.

Delete All Cookies for Domain

When viewing grouped by domain, click 🗑️ in the domain header to delete all cookies for that domain.

session_token abc123xyz789 🗑️ Delete cookie? Delete Cancel ✓ Cookie Deleted

Clear All Cookies

Click the "🗑️ Clear All" button in the toolbar to remove all cookies (with confirmation).

Warning: Deleting cookies is permanent. Make sure to export them first if you might need them later!

Export & Import

Exporting Cookies

Click Export Button

Click the "📤 Export" button in the Cookie Jar toolbar.

Choose Save Location

Browser will prompt you to save the JSON file.

File Downloaded

File saved as cookies_YYYY-MM-DD.json

📤 Export Cookies 📄 cookies_2025-11-28.json

Export File Format

[
  {
    "id": "cookie_12345",
    "name": "session_token",
    "value": "abc123xyz",
    "domain": "api.example.com",
    "path": "/",
    "expires": "2025-12-31T23:59:59.000Z",
    "secure": true,
    "httpOnly": true,
    "sameSite": "Lax"
  },
  ...
]

Importing Cookies

Click Import Button

Click the "📥 Import" button in the Cookie Jar toolbar.

Select JSON File

Choose a previously exported cookies JSON file.

Cookies Imported

Cookies are merged with existing ones. Duplicates (by ID) are skipped.

📥 Import Cookies 📄 ✓ Imported 12 Cookies Successfully!
Use Cases: Export/Import is perfect for backup, sharing cookie configurations with teammates, or migrating between environments!

Common Use Cases

1. Session Management

Store session tokens from login responses:

Name: session_id
Value: abc123xyz
Domain: api.example.com
Secure: ✅
HttpOnly: ✅

2. Authentication Testing

Test authenticated endpoints without re-logging:

Name: auth_token
Value: Bearer xyz...
Domain: api.example.com

3. Multi-User Testing

Switch between different user sessions:

User 1: session_id=user1_abc
User 2: session_id=user2_xyz
User 3: session_id=user3_def

4. CSRF Token Testing

Store CSRF tokens for protected requests:

Name: csrf_token
Value: random_token_here
SameSite: Strict

5. Development Cookies

Save production cookies for local testing:

Export from prod
Import to local
Test with real data

6. Team Collaboration

Share cookie configurations:

Export cookies.json
Share with team
Everyone imports
Same test environment

Automatic Cookie Inclusion

Request Man automatically includes cookies from the Cookie Jar when sending requests!

Matching Rules

A cookie is included if:

  1. Cookie's domain matches the request URL domain
  2. Cookie's path includes the request URL path
  3. Cookie hasn't expired
  4. (If Secure) Request uses HTTPS

Example

// Cookie in Jar:
Name: session_id
Value: abc123
Domain: api.example.com
Path: /
Secure: Yes

// Request:
GET https://api.example.com/users

// Result:
Cookie: session_id=abc123     ✅ Automatically included!
🍪 Cookie Jar session_id abc123 auth_token xyz789 ✓ Domain: api.example.com Auto-included! Request Headers GET /users HTTP/1.1 Host: api.example.com Accept: application/json Cookie: session_id=abc123; auth_token=xyz789; User-Agent: Request Man/1.0

Tips & Best Practices

1. Use Descriptive Names

Name cookies clearly: auth_token, user_session, csrf_token

2. Set Expiration Dates

Add expiration to avoid clutter from old cookies.

3. Enable Security Flags

Use Secure and HttpOnly flags for sensitive cookies.

4. Group by Domain

Organize cookies by domain for better management.

5. Regular Cleanup

Delete unused cookies periodically to keep things tidy.

6. Export for Backup

Regularly export cookies as a backup.

7. Use Search Efficiently

Use search bar to quickly find specific cookies.

8. Test Cookie Matching

Check request headers to verify cookies are included correctly.

Troubleshooting

Cookie Not Included in Request

Problem: Cookie doesn't appear in request headers

Solutions:

Can't Import Cookies

Problem: Import fails or shows error

Solutions:

Cookies Disappeared

Problem: Cookies missing after restart

Solutions: