HTTP Request to an external service from a .jsm file

Former Member
Former Member

Hello,

I'm new to Verint, and I've been asked to implement a widget that makes an HTTP request to an external service and render the data it returns.

I have a hello-world widget, which references a .jsm file that returns a hello-world result. This is good, but I need to extend this to make an HTTP request out to a third party service and return a formatted response from my .jsm script to my widget's front-end.

What HTTP libraries are exposed to a .jsm file?  Can I use XmlHttpRequest or jQuery?  How would I go about making an HTTP request to an external service?

Thank you,

Chris

Parents Reply Children