REST API JavaScript Example

Shows how to use the Spokes REST service from JavaScript to poll for events and make commands.  This sample will be extended to exercise additional REST APIs.  Also available in the full SDK download.


**UPDATED** 6th July 2012 - fixed incorrect URL of jQuery, plus some field validation


**UPDATED** 1st May 2012 - now has fix for erroneous "server offline" errors!


Also see: Spokes JavaScript API Reference