Http command send with username and password

Hello all,
I need to send http://admin:a1234567@192.168.1.111/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote code with a scene luup code editor. I tried to send luup.inet.wget( "http://admin:a1234567@192.168.1.111/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote" ) but doesnot work but if i try to send luup.inet.wget( "http://root:root@192.168.2.201/goform/Reboot" ). This time it is ok. How can I send first code without problem?

I assume that you’re not actually posting your real password. But I have seen cases where special characters in passwords cause problems. Which special characters are in your password? Feel free to randomize their order in your reply.

They are real password, actually they are default password. It is at LAN not WAN devices so why should I keep them secret?

Best Home Automation shopping experience. Shop at getvera!

© 2021 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules