How to consuming REST of third party tool from HP Service Manager.

Hi Experts, 

in HP SM, I found that is posible to created Java Script in "Run WSDL to JS",  but is not posible to create a JS from URI of REST, and my question is, how to create a JS that consume the REST?. 

Exists any method for that goal?.  HOw to call the URI in HP SM?

and what another options there are in HP SM.