Workflow scripted elements, actions, and policies require scripting of common networking tasks. You can cut, paste, and adapt these examples into your scripted elements.
Obtain Text from a URL
The following JavaScript example accesses a URL, obtains text, and converts it to a string.
var url = new URL("http://www.vmware.com") ; var htmlContentAsString = url.getContent() ;