Dahua NVR "http api" redirects

uorbe001

n3wb
Joined
Jul 31, 2020
Messages
2
Reaction score
3
Location
Spain
Hi,

I'm trying to attach a script to listen to events from a Dahua NVR and I'm getting 302 (redirects) all the time. I've tried looking online for either the manual or other people with the same issue, and I'm unable to find anything. I'm wondering if anyone has stumbled upon this issue here?

The system version is V4.001.0000005.1, Build Date: 2020-11-26 and web version V3.2.7.135788"

The urls I'm using are something like "", I also tried a few of the libraries that other people wrote with the same effect. It feels like Dahua updated their api but forgot to document it? Does anyone have any clues where I might find the correct information or what the api is like these days?

Thanks.
 

uorbe001

n3wb
Joined
Jul 31, 2020
Messages
2
Reaction score
3
Location
Spain
Okay I'm a dum dum. I only just realised the location header is redirecting to the ssl (https) version, I missed the s and assumed it was wrong. Let this be evidence of my stupidity.
 
Top