Mendix 7 Custom Widget cannot get dojoRequest to work

Hello and thanks for taking the time to read my post. My issue is that I’m creating an custom Mendix widget and want to call some API from the widget code via the dojo/request library, but when I do any get or post I get the  following error: "Unable to load status: 0" Below is an example of the code I am using to call this and I get the same result for any post or get.   dojoRequest.get("").then(                 function(response){                    alert(response);                 },                 function(error){                    alert(error);                 }             ); Any suggestions would be greatly appreciated.  
0 answers