Skip to content

Glossary: Firebase and Supabase

CORS headers

Also written: CORS, corsHeaders, preflight, OPTIONS

Headers that tell a browser that pages from other origins may call this server. A browser first sends an `OPTIONS` preflight request, which the edge function answers with these headers, and without them the browser blocks your page's calls.

Where the book teaches it

Related terms

edge functionDeno