It’s recommended to use a client library or the Tile38 CLI, but there are times when only HTTP is available or when you need to test from a remote terminal. In those cases we provide an HTTP and telnet options.
One of the simplest ways to call a tile38 command is to use HTTP. From the command line you can use curl. For example:
Websockets can be used when you need to Geofence and keep the connection alive. It works just like the HTTP example above, with the exception that the connection stays alive and the data is sent from the server as text websocket messages.
There is the option to use a plain telnet connection. The default output through telnet is RESP.
- HTTP and Websockets use JSON.
- Telnet and RESP clients use RESP.