ReferenceDriverHTTPGet Started

HTTP Device Driver

Learn how to acquire data from and send commands to HTTP servers using Synnax.

The HTTP device driver allows the Synnax Driver to communicate with any device or service that exposes an HTTP or HTTPS API. This makes it possible to acquire data from REST endpoints, send commands to web services, and integrate with custom HTTP servers that don’t use a traditional industrial protocol.

Supported Protocol

The Synnax Driver supports HTTP and HTTPS, enabling communication with any server that exposes a JSON-based REST API. The HTTP driver is commonly used for:

  • Custom REST APIs on embedded devices and microcontrollers
  • Web services and cloud APIs that expose telemetry data
  • Internal monitoring endpoints (health checks, metrics)
  • IoT gateways and edge devices with HTTP interfaces
  • Devices that don’t support traditional industrial protocols (OPC UA, Modbus, etc.)

The HTTP driver supports JSON request and response bodies, and supports bearer token, basic auth, and API key authentication.

Supported HTTP Methods

MethodDescription
GETRetrieve data from a server
POSTSend data to a server
PUTReplace a resource on a server
PATCHPartially update a resource

Supported Operating Systems

PlatformStatus
Windows✓ Supported
Linux✓ Supported
NI Linux Real-Time✓ Supported
macOS✓ Supported
Docker✓ Supported

When running in a Docker container, ensure the container has network access to the HTTP server(s).