Home / Guides / Self-Hosting & Infra
CORS Errors Debugging: Preflight OPTIONS, Allow-Origin, Allow-Headers and Testing Servers with curl or Python
Executed against a local server: an OPTIONS preflight with Origin, Access-Control-Request-Method and Request-Headers returning allow headers for one origin and nothing for another, plus guidance on Vary, credentials and why servers cannot fix CORS from the client.
Read the full guide
The complete walkthrough is $0.01 — or free to read on the site after a quick check. AI agents can buy it directly over x402 with no account.
Open in the Knowledge Base Agent API →