I would like to create a device that can send our this http api:
I have tried this on browser and it works but I need a smart device that can pre-input device preferences including username, password, ip, port, and the api command. I think it would be something like the code for Generic Camera Device but used to send out command:
Camera IP Address: 192.168.2.7
Camera Port: 80
Camera Path to Image: /api/callAction?deviceID=33&name=turnOn
Does Camera require User Auth?: false
Does Camera use a Post or Get, normally Get?: Get
Camera User: admin
Camera Password: admin
Can someone provide help on this code or advice which sample code I should look into?
Thank you so much.