Call an external REST API from a table row

Suppose I have a widget that contains a table. I embed this widget on an external web application. Now, once this widget is rendered (over the external application UI), can I make a REST API Call to an external source along with certain params?