> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# setExtraHTTPHeaders

Sets additional HTTP headers that will be sent with all subsequent requests from the page.
Pass an empty object to clear previously set extra headers.
Example: `setExtraHTTPHeaders(headers: { "X-Custom-Header": "MyValue" })`
Returns true if the headers were successfully set.

## Definition

```graphql theme={null}
setExtraHTTPHeaders(
  headers: Headers!
): Boolean!
```

## Arguments

### `headers`

[Headers!](/reference/graphql/scalars/headers)

A JSON object representing the headers to set. Keys are header names, values are header values.

## Returns

[Boolean!](/reference/graphql/scalars/boolean)

The `Boolean` scalar type represents `true` or `false`.
