Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用来自我的 Web 应用程序的测试密钥的 XING api。我正在使用前端的 angularjs 从 xing 实现联系人导入。但是不可能调用任何 api,抛出诸如 xmlHttpRequest 之类的错误,不允许我的站点访问 xing蜜蜂。
我怎样才能打电话?
这是 CORS 错误。我们无法克服来自客户端的 cors 错误,因为我们正在从某个域调用另一个受保护的域。作为 xing 实现的解决方案,我们需要从服务器端进行 xing api 调用。