fix: typo in rest api endpoint

This commit is contained in:
ZanzyTHEbar 2023-02-12 12:19:29 +00:00
parent 62fc9581cc
commit 43ae2b1fb2

View File

@ -19,10 +19,10 @@ 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:
```txt ```txt
http://{device_name}.local:81/control/command/{endpoint}?{param}={value}&{param}={value} http://{device_name}.local:81/control/builtin/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/builtin/command/<endpoint>`.
### Endpoints ### Endpoints
@ -55,7 +55,7 @@ If you do not supply a param, that param will be set to default settings.
URL params are passed in the URL as a query string, using the following format: URL params are passed in the URL as a query string, using the following format:
`http://<device_name>.local:81/control/command/<endpoint>?<param>=<value>&<param>=<value>` `http://<device_name>.local:81/control/builtin/command/<endpoint>?<param>=<value>&<param>=<value>`
#### /wifi #### /wifi