mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
feat: add docs for MDNS and REST API
This commit is contained in:
parent
6f69ae61b3
commit
2b386da8ea
@ -18,8 +18,8 @@ For basic `GET` requests, you can use your browser of choice.
|
|||||||
|
|
||||||
The REST API follows the following standard:
|
The REST API follows the following standard:
|
||||||
|
|
||||||
´´´
|
´´´bash
|
||||||
<http://<device_name>.local:81/control/command/<endpoint>?<param>=<value>&<param>=<value>>
|
http://{device_name}.local:81/control/command/{endpoint}?{param}={value}&{param}={value}
|
||||||
´´´
|
´´´
|
||||||
|
|
||||||
> For example, if the name of the device is `esp32`, you can connect to the device using `http://esp32.local:81/control/command/<endpoint>`.
|
> For example, if the name of the device is `esp32`, you can connect to the device using `http://esp32.local:81/control/command/<endpoint>`.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user