Using Groovy Services to Make GET Calls
Using grails.converters.JSON we can easily make GET calls to the REST services of ScienceBase.
Create your URL as a groovy URL with all of your fields correctly set (when using JSON make sure you set "format=json" as one of your fields). Then call .getText() on your URL object to get the returned text and JSON.parse to parse your returned text into a JSON object. The returned JSON object is basically just a Map with key/value pairs.
Here is an example of search done in EERMA: