hi i want to send some web request to my homemade ir controller. there are two types of http request that my hub requires one being json and other being simple request. sorry i am not familiar with these url and these types but here are the two url which i want to send on my local network . the links works fine when i enter them into the url section of my browser but these are not working using the http binding. please help.
Switch saitv_on_off "TV" <television> ["Switchable"] { http=">[ON:PUT:http://192.168.0.16:1234/msg?code=A90:SONY:12&pulse=2&repeat=1&pass=4361&out=3] >[OFF:PUT:http://192.168.0.16:1234/msg?code=A90:SONY:12&pulse=2&repeat=1&pass=4361&out=3]" }
json
192.168.0.16:1234/json?plain=[{"type":"raw","data":[4350,4300, 550,1550, 550,500, 550,1550, 550,1550, 550,500, 600,450, 600,1550, 550,500, 550,500, 550,1550, 550,500, 550,500, 550,1550, 550,1550, 600,450, 600,1550, 550,500, 550,1550, 550,1550, 550,1550, 550,1550, 550,500, 600,1500, 600,1550, 550,1550, 550,500, 550,500, 550,500, 550,500, 550,1550, 550,500, 550,500, 600,1500, 600,1550, 550,1550, 550,500, 550,500, 550,500, 550,500, 550,500, 550,500, 550,500, 550,500, 600,1500, 600,1550, 550,1550, 550,1550, 550,1550, 550],"khz":38,"repeat":1}]&pass=4361