A sample of script that hits a service endpoint at SmartThings