You must establish a connection for data transfer between your HTTP ports in use and
the HTTP server before adding devices.
Before you begin
If the default port 56789 is not available to send data to the HTTP server, assign
another port.
What you should know
- The HTTP server is installed and hosted by the plugin role when you select the
HTTP server protocols during plugin installation.
- HTTP
requests are made using an API key. The key is
a
HTTP server identifier that is generated when you create the HTTP
connector and must be kept secret to protect your system
against malicious users.
- Data that is sent through HTTP requests can be used to raise events, trigger
alarms, and so on.
Procedure
-
From the Config Tool homepage, open the Plugins
task.
-
From the entity browser, select the Industrial IoT plugin role and click the
Protocols tab.
-
In the Protocols list, turn on the HTTP
Server switch.
-
Click Add HTTP connector (
).
-
In the Add HTTP connector dialog box, do the following:
-
Enter a name for the connector.
-
Click Copy to clipboard (
) to
copy the API key.
IMPORTANT: The API key is what identifies your HTTP server
and is required by all devices (HTTP clients) to connect to the
plugin role (HTTP server). For security reasons, this key is not
saved in any registry or database. You cannot access the API key
after you close this dialog box. Keep it in a safe place. You need
it every time you add an HTTP device to your system.
-
Click Add.
Results
The connector is added to the list of HTTP connectors.
After
the HTTP connector is created, the only information you can change is
the connector name in the
HTTP Connector section. .