Friday, October 08, 2010

REST/JSON access to your data in 2 clicks

There never seems to be enough time at oow to show all the new things coming.  Some new things in the listener is exactly the case this year.  A few people found me and asked some questions but we didn't have a good setup for demoing it there.  Here's one of the new things coming....

Here's how to get REST / JSON access to your data in 2 mouse clicks.

1. Click Add Resource Template

2. Fill in the fields. Second Click Save.
   You can tell that the {id} is the bind that is passed into the query.  Where it's referenced with the same syntax to use as a bind.

Done.  Now here's the JSON output from all that hard work :)

Obviously this is a very simple example and there are more samples and documentation on the possibilities coming.