? Configuration
? API Response
? Understanding CORS & Solutions
What is CORS? Cross-Origin Resource Sharing (CORS) is a browser security feature that blocks requests from one domain (your local HTML file) to another (Cloudflare API).
✅ Recommended: Use the built-in CORS proxy toggle above. It routes your requests through a proxy server that adds the necessary CORS headers.
Multiple Fallbacks: If one proxy fails, the tool automatically tries others in the list.
? Local Proxy Server: Run your own proxy server for better reliability.
Then select "Local Proxy (Port 3001)" from the dropdown above.
⚠️ Testing Only: Disable CORS in Chrome for development (NOT for production!).
Warning: This makes your browser less secure. Only use for API testing!
? Required API Permissions & Setup
- Create API Token: Go to Cloudflare Dashboard → My Profile → API Tokens → Create Token
- Required Permissions:
Zone:Zone:Read- To read zone informationZone:Zone:Edit- To manage email routing settings
- Zone Resources: Include the specific zone you want to manage
- Find Zone ID: Dashboard → Your Domain → Right sidebar under "API"
- Email Routing: Must be enabled on your domain first (Dashboard → Email → Email Routing)
- CORS Solution: This tool defaults to using CORS proxy - just leave it enabled!