I don't really understand what this does. Will it call up a webpage and execute the code on the page?
I'm looking for a way to insert info into a database or spreadsheet when contact sensors close.
I don't really understand what this does. Will it call up a webpage and execute the code on the page?
I'm looking for a way to insert info into a database or spreadsheet when contact sensors close.
All of the HTTP commands (GET, POST, etc) are dependent on the capabilities of the receiving IP:Port. If the device has a GET, you will need to know the explicit data that is passed and what that will elicit in the response. Some devices can execute commands and provide data. Others can just provide data.
These are similar to the sendHubCommand format. The big difference is (I believe) they are targeted mainly to non-local hosts.
Dave
HTTP GET is fine to use for local hosts as well.