It sounds like basic authentication is possible, but when I try it I get always 401 Unauthorized.
I tried something like this
admin:DahDah@98
change to Base64 with Base64 Encode and Decode - Online which gives YWRtaW46RGFoRGFoQDk4
Then I use...
Hi did you ever solve that problem? I tried also to access my Dahua camera with basic authentication but it works only with digest authentication here.
IS it still possible to use basic authentication?
Thanks
but postman is just to test, my goal is to use cheap ESP32 alarm that can enable disable the recording and/or motion when switched on.
Will check if ESP32 can do this kind of authentication, it looks much more difficult than the basic one.
when I use in Postman digest authentification I get an answer yes.... but not sure if I can use this kind of authentication with ESP32
http://192.168.0.108:50000/cgi-bin/encode.cgi?action=getCaps
answer =
caps.MaxExtraStream=2
caps.VideoEncodeDevices[0].MultiAudioEncode=1...
Hi I try to control my Dahua IP camera by ESP32 http get request but I seem to do something wrong.
Could you give an example please?
I tried in Postman
http://192.168.0.108:50000/cgi-bin/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=1
and many other requests
with header...