From 3753cc6b67a4511292361cdf1143393c1419bbaf Mon Sep 17 00:00:00 2001 From: ZanzyTHEbar Date: Sat, 28 Jan 2023 14:47:57 +0000 Subject: [PATCH] fix: fix REST API standard rendering --- vitepress/docs/src/pages/firmware_guide/rest_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vitepress/docs/src/pages/firmware_guide/rest_api.md b/vitepress/docs/src/pages/firmware_guide/rest_api.md index 57da7d0..eb905ce 100644 --- a/vitepress/docs/src/pages/firmware_guide/rest_api.md +++ b/vitepress/docs/src/pages/firmware_guide/rest_api.md @@ -18,9 +18,9 @@ For basic `GET` requests, you can use your browser of choice. The REST API follows the following standard: -´´´bash +``` 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/`.