Merge pull request #2208 from pliablepixels/patch-3
fixed path for login/logout api
This commit is contained in:
commit
24ab10c07f
|
@ -29,13 +29,13 @@ This means if you plan to use cuRL to experiment with these APIs, you first need
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
curl -XPOST -d "user=XXXX&pass=YYYY" -c cookies.txt http://yourzmip/zm/api/login.json
|
curl -XPOST -d "user=XXXX&pass=YYYY" -c cookies.txt http://yourzmip/zm/api/host/login.json
|
||||||
|
|
||||||
Staring ZM 1.32.0, you also have a `logout` API that basically clears your session. It looks like this:
|
Staring ZM 1.32.0, you also have a `logout` API that basically clears your session. It looks like this:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
curl -b cookies.txt http://yourzmip/zm/api/logout.json
|
curl -b cookies.txt http://yourzmip/zm/api/host/logout.json
|
||||||
|
|
||||||
|
|
||||||
**Login process for older versions of ZoneMinder**
|
**Login process for older versions of ZoneMinder**
|
||||||
|
|
Loading…
Reference in New Issue