How to send AJAX requests from the UI Vision scripts

Another option is to use the executeScript command + some Javascript to call any API directly from within Ui.Vision. See my api call post.