Set WebDav state which can be ON, OFF, CLOSE
[ESP190](state) json=(no) pwd=(admin password)
-
json=no the output format can be in JSON or plain text
-
pwd=(admin password) the admin password if authentication is enabled
-
state
- if state is empty, it will display current state
- if state is not empty, it will set the state ON, OFF, CLOSE
Output
Section titled “Output”- In json format
{ "cmd":"190", "status":"ok", "data":"OFF"}cmdId of requested command, should be190statusstatus of command, should beokdatacontent of response, here the state