Example of a Data Function connecting to REST service.

I'm trying to connect to a REST service from Spotfire but our 6.5 to 7.0 roll out is still months away so I won't be able to use the ODATA connector for some time.


Based on some research, it appears that I might be able to create a data function that connects to a REST service.  Unfortunately, I am completely new to R so I do not have a clue as to how to create such a function and I've have no luck finding examples online.  I'm hoping someone here could provide an a script that would connect to a REST service assuming it's possible.  Here's the test REST service we're using as a proof of concept.




Thanks in advance


(1) Answer