BUI Extensibility framework - AJAX call cancelled
Summary
BUI Extensibility framework - AJAX call cancelledContent
Hi everybody,
I have a pretty basic question but I can't seem to find a solution.
I'm trying to do an AJAX call to an API from within a workspace addin (using the BUI extensibility framework). But everytime the call should fire, my developer tools say that the call is cancelled.
Has anyone done this before?
Version
20ACode Snippet
var xhr = new XMLHttpRequest(); var url = 'https://website.custhelp.com/cc/demo/demo1/value/banana'; xhr.open("post", url, true); xhr.onload = function() { var obj = JSON.parse(xhr.responseText); console.log(obj);
Tagged:
0