Using Macro to trigger URL
Posted: 07 Aug 2019, 16:44
This one is for the masters ...
Currently, I have a sapphire touch on Titan 11 and an networked video board that has exposed APIs (similar to Avolites Web API). The video board API can be simply triggered by sending a HTTP GET request to the IP address.
It will be something like this: sending a HTTP GET to http://192.168.1.100:5000/API/myfunction, where 192.168.1.100 is the IP address of the video board in the LAN.
So my plan is, connect both Sapphire and the video board using a router, and using a custom coded macro to trigger the URL.
Question: is this possible? Is there a particular macro function that lets me send a generic HTTP GET request to the specified URL?
For those who like a challenge!
Cheers!
Currently, I have a sapphire touch on Titan 11 and an networked video board that has exposed APIs (similar to Avolites Web API). The video board API can be simply triggered by sending a HTTP GET request to the IP address.
It will be something like this: sending a HTTP GET to http://192.168.1.100:5000/API/myfunction, where 192.168.1.100 is the IP address of the video board in the LAN.
So my plan is, connect both Sapphire and the video board using a router, and using a custom coded macro to trigger the URL.
Question: is this possible? Is there a particular macro function that lets me send a generic HTTP GET request to the specified URL?
For those who like a challenge!
Cheers!