HTTP

Skysens AgPM can be connect your HTTP server to receive data or generate an endpoint to receive data.

For Adding A HTTP source, select HTTP on add new source menu.

Add Source Menu

Adding a HTTP source is three-step process: Source Information, Endpoint Information and Field Information.

Source Information

Adding a HTTP source depends on your HTTP server management architecture. You can configure Skysens AgPM can connect your HTTP server and receive data or you can generate a custom integration URL that you can send your data. In second method you do not need to manage a HTTP server, you only need a simple HTTP client that sends data.

Name: Descriptive name for your HTPP device

If you want to use your HTTP server thats Skysens AgPM will connect your server and receive data. Select the "Use Your Http Server" option on the menu.

Url: HTTP server public host name or IP address

Port: HTTP server port number

Request Type: Select the HTTP request method POST or GET

If your HTTP server have some authentication method then select the authentication method according your authentication method; Basic, Bearer Token or Custom header.

If you want to use Skysens HTTP server, you only need to generate a custom URL for your device. Than create a HTTP client that sends request into your generated custom URL.

Endpoint Information

Endpoint is data set exposed by the server's API, points different functions that returns different responses.

Field Information

Field Name: An identifier for HTTP data object

Field Key: Key name on HTTP data object

Unit: Reading data's unit

Format: Data format. Such as: int32, float

Last updated