Page 1 of 1

Change Running state via URL

Posted: Tue Apr 23, 2019 12:11 pm
by marcolino7
Hi,
is it possible changing Running State by using a url, passing also username and password?
I mean like this to get video stream:

https://server/zm/cgi-bin/nph-zms?mode= ... s=pass1234

I would like to automate changing status from Stop to default.

Thanks in advance
Marco

Re: Change Running state via URL

Posted: Tue Apr 23, 2019 8:03 pm
by alabamatoy
The API supports this but not using username and PW, have to do auth using something like CURL. See https://zoneminder.readthedocs.io/en/st ... state-apis and https://zoneminder.readthedocs.io/en/st ... i-security

Re: Change Running state via URL

Posted: Wed Apr 24, 2019 9:33 am
by marcolino7
Many Thanks for reply.
Regards

Marco