Search found 3 matches
- Sun Feb 28, 2016 12:16 pm
- Forum: ZoneMinder 1.29.x
- Topic: API and PHP calls with curl
- Replies: 4
- Views: 22653
Re: API and PHP calls with curl
Another question, related to the controls through the API. So, I read the documentation and understand that on monitors you have only if it's controllable, the controlable ID. Ok, get this. Get also the details of the controls by calling controls/XX.json But how to call Zoneminder to request a ...
- Fri Feb 26, 2016 7:52 pm
- Forum: ZoneMinder 1.29.x
- Topic: API and PHP calls with curl
- Replies: 4
- Views: 22653
Re: API and PHP calls with curl
Thanks, perfect
- Fri Feb 26, 2016 4:33 pm
- Forum: ZoneMinder 1.29.x
- Topic: API and PHP calls with curl
- Replies: 4
- Views: 22653
API and PHP calls with curl
Hi, I will like some help to ensure how to get access to API by using PHP curl. Issue is when auth is activated. So to map with this command : curl -d "username=XXXX&password=YYYY&action=login&view=console" -c cookies.txt http://yourzmip/zm/index.php Actually I try : $ch = curl_init(); curl_setopt ...