简体   繁体   English

如何使用Office Addin的Angular请求

[英]How to make a request with Angular from Office Addin

I develop a Office AddIn, I want to make a request to my Web Services, but when the script start, I have an error with angular.min.js (99,73) , when the script make a request apparently. 我开发了一个Office AddIn,我想向我的Web服务发出请求,但是当脚本启动时,当脚本显然发出请求时,我遇到了angular.min.js (99,73)错误。

So I have this problem because the html page is running by Internet Explorer and i don't know how to do for run my request. 所以我有这个问题,因为html页面是由Internet Explorer运行的,我不知道如何运行我的请求。

For call my JS I have an HTML page, who is call by Word (when I run my addin with word), and i have 对于调用我的JS,我有一个HTML页面,该页面由Word调用(当我使用word运行插件时)

0x80070005 Access Denied. 0x80070005访问被拒绝。

The error comes from this function call : u.open(e,h,!0); 错误来自以下函数调用: u.open(e,h,!0);

e = 'GET'
h = my API url

Please someone could help me. 请有人可以帮助我。

我向HTTP服务器发出请求,并且办公室使用https。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM