I have an Excel365 add-in that allows importing and exporting data from an online application to Excel. However, I'm facing problems when trying to connect to a local server. The problem happens when the add-in sends the initial GET command to the REST API. The error message I see is:
Error: Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc. at q.crossDomainError
OK
However, if I send the same GET command manually, it works fine. Any ideas why my GET command from Excel does not work, but from any other application (VsCode, Postman, etc.) if works as expected? Thanks in advance.