Web request on other than port 80?
Posted: Thu Mar 17, 2016 10:27 am
I see the "wget" command, which seems to work great, but I'm trying to make a program that will activate "Scenes" on my Vera home automation system.. The URL for activating a scene is this format:
http://ip_address:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=<SceneNum>
So.. It seems that since wget wont make a request on other than port 80, I don't see how to do this..
I guess I could investigate opening a raw socket, and sending the GET command manually, but I was curious how hard it would be to expand the wget to allow for other ports?
Thanks! I'm just beginning to play with these awesome little modules, and so far this is all very amazing!!
-Steve
http://ip_address:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=<SceneNum>
So.. It seems that since wget wont make a request on other than port 80, I don't see how to do this..
I guess I could investigate opening a raw socket, and sending the GET command manually, but I was curious how hard it would be to expand the wget to allow for other ports?
Thanks! I'm just beginning to play with these awesome little modules, and so far this is all very amazing!!
-Steve