Version 6.0 and how to modify settings via code
I have some old PERL code that used to work in version 5. I think maybe this doesnt work in V6. Is there another way to set things like camera sensitivity via code?
my $cmd="curl --silent -d 'cameraNum=0&mdSensitivityText=100&action=save' 'http://user:password\@127.0.0.1:8002/camerasettings'";
Comments
-
The entire web interface has been rewritten for v6, so this is all different now.
However, the old web interface and API is still available via the /v5 subdirectory, so if you add this to your URL then your scripts should continue to work as before.
The new API is described on the Web Server Specification page. The equivalent curl command to set the sensitivity would be as follows:
curl -d 'cameraNum=0&mdSensitivity=100' http://user:password@127.0.0.1:8002/settings-cameras
