Using the SpringCore device over HTTP
HTTP is the major client/server protocol of the Web.
The SpringCore device is a HTTP client that invokes a REST API from a HTTP server every time a tag or token is read. The script or program behind the REST API on the server may send a command to the reader in response.
HTTP is a nice feature to quickly set-up a demo, but has a few drawbacks:
- The communication channel between the reader and the server is not persistent, therefore the server can send a command to the reader only when a tag has just been read.
- Opening an HTTP channel for every event is costly in terms of CPU load and bandwidth, and the user may find that the reader is ‘too slow’.
- There is no security for HTTPS is not supported by the reader.
For any serial application, please consider using MQTT Client instead of HTTP.