REST connector
Connect FairCom Edge to enterprise APIs by posting JSON to REST services.
FairCom Edge provides a REST connector that posts a JSON payload to an enterprise REST service when a record is inserted into an integration table, such as when you publish an MQTT message to a topic or configure a connector in FairCom Edge to collect telemetry from a device.
FairCom Edge provides a REST connector that posts a JSON payload to an enterprise REST service when a record is inserted into an integration table, such as when you publish an MQTT message to a topic or configure a connector in FairCom Edge to collect telemetry from a device.
Use the JSON Hub API "createOutput" action to configure the REST connector.
Note
The REST connector delivers information to a REST service. External software can use FairCom's JSON DB API "insertRecords"
action to insert records into integration tables, which automatically causes FairCom Edge to send MQTT messages and push data to devices and software. The JSON DB API is a more straightforward form of a REST API where you use HTTP to POST a JSON payload to the /api
endpoint on a FairCom server.