问题描述
我正在构建一个Outlook加载项,为此我需要调用rest api。在Mac的Outlook应用程序中加载外接程序时,将引发以下错误。但是,在outlook.com中,它的工作正常(200 OK响应)。我可能会丢失一些东西,不知道是什么。我无法解决。请帮助我解决此问题。
谢谢!
{
"message": "Network Error","name": "Error","stack": "createError@https://localhost:3000/vendor.js:613:24\nhandleError@https://localhost:3000/vendor.js:104:25\nwrapFn@https://localhost:3000/polyfills.js:1231:48\nonInvokeTask@https://localhost:3000/vendor.js:34970:43\nrunTask@https://localhost:3000/polyfills.js:180:61\ninvokeTask@https://localhost:3000/polyfills.js:493:45\ninvokeTask@https://localhost:3000/polyfills.js:1634:24\nglobalZoneAwareCallback@https://localhost:3000/polyfills.js:1660:31","config": {
"url": "http://localhost:8102/api/get-token","method": "post","headers": {
"Accept": "application/json,text/plain,*/*"
},"transformRequest": [
null
],"transformResponse": [
null
],"timeout": 0,"xsrfCookieName": "XSRF-TOKEN","xsrfheaderName": "X-XSRF-TOKEN","maxContentLength": -1
}
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)