28 Apr 2024, 03:07

I am trying to run a CGI command to disable/enable RTSP on my WiFi doorbell, but I keep running issues. I am not getting an error when running the command, just returns nothing. Surely I've made a mistake in my syntax, just unsure where.


curl -s -d '[{"cmd":"Login","action":0,"param":{"rs": "abcd", "User":{"userName":"USERNAME","password":"PASSWORD",{"cmd":"SetNetPort","param":NetPort,"action":{"rtspEnable":0}}}}}]' https://192.168.0.226/api.cgi?cmd=Login