Run Postman with Chrome Cookies
When testing APIs that require authentication, manually copying cookies from Chrome to Postman can be tedious. Here’s how to automatically sync Chrome cookies with Postman.
Prerequisites
- Chrome browser
- Postman desktop application
- Chrome extension: “Cookie-Editor” or “EditThisCookie”
Method 1: Using Cookie-Editor Extension
- Install the “Cookie-Editor” extension from Chrome Web Store
- Navigate to your target website and log in
- Click the Cookie-Editor extension icon
- Click “Export” to copy cookies in JSON format
- In Postman, go to your request
- Under the “Cookies” tab, click “Import”
- Paste the copied cookies and save
Method 2: Using Postman Interceptor ⭐️⭐️⭐️⭐️⭐️
Step 1: Install Postman Interceptor
- Install “Postman Interceptor” from Chrome Web Store
- Open Postman desktop app
- Go to Cookies > Sync Cookies
- Set domains you want to sync cookies from
- Click “Start Syncing”
Step 2: Configure Interceptor
- Click the Interceptor icon in Chrome
- Connect to Postman desktop app
- Select domains you want to sync cookies from
Step 3: Use Captured Cookies
- Your Chrome cookies will now automatically sync with Postman
- Make API requests in Postman using the synced cookies
- Cookies will update automatically when changed in Chrome
Benefits
- Save time by avoiding manual cookie copying
- Always work with up-to-date cookies
- Maintain session consistency between browser and Postman
Common Issues and Solutions
Cookies Not Syncing