> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/configuration-client/site-installation/services-and-workstations/creating-a-rest-api-client-item/test-rest-api-connectivity-with-third-party-system-chrome.md).

# Test REST API connectivity with third party system (Chrome)

### Before you begin

Before you begin these procedures:

* Download and install a browser, we recommend Chrome.
* Add an extension (ModHeader) to Chrome to modify outgoing HTTP headers.
* Add an extension (JSON VIEWER) to Chrome to make the JSON response more readable.

#### Modify HTTP header

Perform the following procedure to add the Authorization HTTP header with the Client API key as its value.

### Procedure

1. From the taskbar click **Start** > **Google Chrome**.

   Ensure the ModHeader extension is added to Chrome.
2. Click on the ModHeader icon showing on the top right-hand corner of Chrome.

   The ModHeader window displays.
3. Under the Request Headers section, enter Authorization.
4. Under the value section, enter: GGL-API-KEY \[API key].

   ![](https://3000903572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCvaxj3suxNBzdwQndVT%2Fuploads%2Fgit-blob-41c1f38aedd3f94339bed1d5b021e3c816de221e%2Frestclient_modifyhttpheader.png?alt=media)

   **Note:** This HTTP header modification may also apply to other outgoing HTTP headers, to prevent this, create a filter.
5. Click on the Add icon on the ModHeader window.

   The Menu option opens.
6. Select **Filter**.

   URL Pattern displays.
7. Create a filter using this syntax: https\://\[Your-IP address]:\[Server Base Port]/\*.

   **For example:** <https://10.60.2.123:8904/\\>\*

#### View REST API events

Perform this procedure to view events provided by REST.

### Procedure

1. From the taskbar click **Start** > **Google Chrome**.

   **Note:** Ensure that JSON VIEWER is added as an extension to Chrome.
2. Enter the following URL: https\://\[Command Centre Server-IP address]: \[Rest API Port]/api/.

   **For example:** **<https://10.60.12.10:8904/api/>**

   Google prompts a certificate window.

   ![](https://3000903572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCvaxj3suxNBzdwQndVT%2Fuploads%2Fgit-blob-282c67b1f98baaaf82be9be3c698b8faf2203885%2Frestclient_selectcertificate.png?alt=media)
3. Select the appropriate certificate, and click **OK**.

   The Operator’s details, features, alarms and events display on the screen.

   ![](https://3000903572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCvaxj3suxNBzdwQndVT%2Fuploads%2Fgit-blob-67a653adbb0095e0012124734a874f7a499a6f43%2Frestclient_events.png?alt=media)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/configuration-client/site-installation/services-and-workstations/creating-a-rest-api-client-item/test-rest-api-connectivity-with-third-party-system-chrome.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
