Completing the device:
Next page is some simple code to make a REST call to a server when the button is pressed