# Add or Modify Headers

HTTP(s) Headers are key-value pairs that the client or server can use to pass additional information along with an HTTP(s) request or response. Modifying the headers of the traffic that passes through your browser quickly can help during development.  By modifying headers, you can test websites by bypassing authorization, removing the content-security-policy header to open the website in an iframe, modifying custom headers for feature flagging, handling CORS issues, managing cookies, etc.

\
IMESH API Gateway can help with a simple UI configuration that allows you to modify request/response headers as you want. It generates (Route) YAML in the backend.

<br>

{% embed url="<https://youtu.be/nGTSidK21Qk>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.imesh.ai/routes/add-or-modify-headers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
