# 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: 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.halosecurity.com/docs/integrations/discovery-integrations/http.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.
