Access-Control-Expose-Headers

Response headers that cross-origin JavaScript may read.

Response header (sent by servers) cors

How it works

By default only a few safe headers are visible to cross-origin code. List others, such as ETag or X-Request-Id, here.

Example

Access-Control-Expose-Headers: ETag, X-Request-Id

See it live: send any request in Endpoint Client and open the Headers tab, where every response header is explained. Specification: Fetch Standard.

Related headers