cgi-bin url for Privacy Mode?

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
sidamos
Posts: 20
Joined: Fri Nov 13, 2020 1:12 am

cgi-bin url for Privacy Mode?

Post by sidamos »

I captured the /RPC2 POST request for Privacy Mode and it looks like this:

Code: Select all

{"method":"configManager.setConfig","params":{"name":"LeLensMask","table":[{"Enable":true,"LastPosition":[-0.9555555555555556,0.035,0.0078125]}],"options":[]},"id":255,"session":"d4baee7485d55a42d924c631ceff6c81"}
However, for this to work you need a session id (log in first).

Does anyone know the cgi-bin command url for that? I could not find it in the API docs.

Thanks!
sidamos
Posts: 20
Joined: Fri Nov 13, 2020 1:12 am

[SOLVED] cgi-bin url for Privacy Mode?

Post by sidamos »

Found it by trying out. :-)

Code: Select all


/cgi-bin/configManager.cgi?action=getConfig&name=LeLensMask
/cgi-bin/configManager.cgi?action=setConfig&LeLensMask[0].Enable=true
/cgi-bin/configManager.cgi?action=setConfig&LeLensMask[0].Enable=false
Post Reply