HTTP
Introduction
This section describes integration with the Gear Studio platform using HTTP. This functionality is designed to allow integration with devices from a variety of manufacturers, as well as custom-built devices with Arduino, nodeMCU, Raspberry Pi, and any other platform that supports HTTP communication.
Integration Alternatives
There are two HTTP integration alternatives:
- Flexible data exchange: Flexible data exchange allows sending data from devices (uplink) and processing it with scripting to interpret and store the information. It is extremely flexible and can be easily implemented with scripting knowledge. Using flexible data exchange is recommended when it is not possible to adapt the data format sent by the device to use the HTTP API.
- HTTP API: The HTTP API allows devices to communicate with the platform using a specific message format, documented in the following sections, which enables:
- Uploading device data to the platform. This page shows the reference for everything needed for each sensor type.
- Updating device-specific data, such as battery and RSSI levels. Follow this reference for more information.
- Receiving and responding to commands sent from the platform. More information on this topic can be found on this page.
Important: if it is not possible to modify the data format sent by the device, then using flexible data exchange is recommended. This makes it possible to send data in any format and process it on the platform using scripting.