HTTP

YuDash IoT devices support data push through REST POST API. Both HTTP and HTTPS (SSL) are supported.

HTTP is the default TCP/IP protocol for cloud communication. YuDash LYNX supports POST REST API for sending data to HTTP Server. Both HTTP and HTTPS versions are supported. The HTTP headers can be configured to support various authentication types.

Following are the settings in LYNX to configure connection to HTTP server:

HTTP ParameterDescription

HTTP Server

The URL of HTTP server is faccessible on the network. Alternately, unique IP address can be provided. This may be required for a local deployment.

  • Remove any prefixes (http:// or https://) in the server name.

  • Remove any suffix APIs from server name. They are provided in API below.

HTTP API

The API name (similar to subdirectory) which will accept POST request. This will typically start with "/".

HTTP Port

The port on which HTTP server is running.

HTTP Success Code

Success code REST API. This is used to check if POST command by IoT device was success or failure. This value has to be set as per cloud API.

HTTP SSL Enabled

Check this box for enabling HTTPS using SSL. This is recommended for production applications.

HTTP Headers for Authentication

  1. HTTP supports various authentication options. The authentication header keys and values are filled in section.

    • These are sent as HTTP headers to server for handshake.

    • The UI supports two headers. In case multiple custom headers are required, it can be configured in JSON configuration.

Device headers with HTTP Payload

In many HTTP servers, there may be single API accepting inputs from various sensors. So, it may be sharing credentials across a set of devices. In such cases, additional device information (say, machine name, sensorID, user-name) may have to be passed in JSON payload. This is besides the actual real-time data collected from sensors. For this requirement, there is an option to add device headers in JSON formats.

LYNX Display with HTTP Post

Following are the typical LYNX display screens with HTTP POST

Last updated