Update README.md

This commit is contained in:
xfarrow 2023-09-15 22:25:14 +02:00 committed by GitHub
parent c01295993f
commit fdda37dca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -52,6 +52,18 @@ with this `JSON` body
```
You must provide the value `admin` for `username`, and the MD5 hash of your Tp-Link account's password as the value of `password`. You will get a token named `stok`.
You'll receive something like
```
{
"error_code": 0,
"result": {
"stok": "*****",
"user_group": "root"
}
}
```
## Move the camera's motors
Create a `POST` request to `https://ip_of_your_camera/stok={your_stok}/ds`
with this `JSON` body