Set Station Password
Input
[ESP101]<password> <NOPASSWORD> json=<no> pwd=<admin/user password>
-
json=no the output format
can be in JSON or plain text -
pwd=
the admin password if authentication is enabled -
password
-
if password is not empty, it will set the password
-
NOPASSWORD
-
if NOPASSWORD is present, it will remove the password
-
if password is empty and NOPASSWORD is not present, it will raise error: `Password not displayable``
Output
- In json format:
cmd
Id of requested command, should be101
status
status of command, should beok
data
content of response, hereok
if error :
- in json format:
- plain text: