setHeaders

I am new to groovy and I am trying to call a RESTful service. This service requires the setting of remote_user in the header. I am not having much success in getting this set. Has anyone done this before and I would appreciate any guidance or samples.

Thanks for the reply! Since I am new to groovy I found a sample service call to Google and I have been modifying it for what I need. I am actually trying to create this as a portlet for one of our portals; the portlet will allow a user to search our Service Bus and get some results displayed back in the portlet. Any thoughts or guidance in this area would be appreciated as well!