Access-Control-Allow-Origin

The CORS response header naming which origin may read the response, either one exact origin or * for any.

In more detail

If the header is missing or names a different origin, the browser blocks the page from reading the response. The wildcard * is not allowed when credentials are included; the server must echo the one allowed origin and should add Vary: Origin.

Related terms

Taught in

References