> For the complete documentation index, see [llms.txt](https://docs.halosecurity.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.halosecurity.com/docs/integrations/discovery-integrations/http.md).

# HTTP

HTTP integrations enable you to automatically import assets from files hosted online. With HTTP integrations, you can dynamically generate a file to integrate any existing service with Halo Security and ensure an accurate and up-to-date asset inventory.

### Preparing an HTTP file

Start by hosting an HTTP file on the internet.

* The content type should be `text/plain`.
* The file should list IPs and/or hostnames, with each entry on a separate line.

An example file would look like this:

```
www.example.com
www2.example.com
111.111.111.111
```

### Add an HTTP integration

1. Visit your *Settings → Integrations →* [Add](https://app.halosecurity.com/user/settings/integrations/add).
2. Add the HTTP integration.
3. Add a name for your integration.
4. Configure the settings.

### Settings

* **Name:** An internal name for this integration. You can use multiple HTTP integrations for different URLs.
* **Auto Run:** Determines the frequency of adding assets from the file to your asset list.
* **URL:** The location of the file.
  * *Example:* `https://www.example.com/assets-list.txt`
* **Headers:** Optional HTTP headers for authentication or tracking.
* **Username / Password:** Optional basic HTTP authentication credentials for accessing the URL.
* **Ignored Assets:** Optional list of assets to ignore when parsing the file.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.halosecurity.com/docs/integrations/discovery-integrations/http.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
