技术文章 - CS229450
如何在 Apache Tomcat for ThingWorx Platform/ThingWorx Navigate 中启用跨域资源共享 (CORS)
已修改: 20-Nov-2025
适用于
- ThingWorx Platform 6.6 to 9.4
- Windchill Navigate (formerly ThingWorx Navigate) 1.5.0 to 9.6
说明
- 如何从另一个域/网站向部署在不同服务器上的 ThingWorx 应用程序发出请求?
- 如何在 ThingWorx 中允许跨域请求?
- 需要在 ThingWorx 上启用CORS
- 正在配置跨域资源共享
- 在 ThingWorx Server 中启用 CORS 过滤器后收到“混合内容错误”。
- 浏览器F12/开发者工具显示以下内容:
XMLHttpRequest cannot load http://[THINGWORX_HOST] No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '[ORIGIN]' is therefore not allowed access. The response had HTTP status code 401
这是文章 229450 的 PDF 版本,可能已过期。最新版本 CS229450