Ken Kousen's code samples for his May 2013 article "RESTful Groovy"