Article - CS229450

How to Enable Cross-Origin Resource Sharing (CORS) in Apache Tomcat for ThingWorx Platform/ThingWorx Navigate

Modified: 02-Oct-2024   


Applies To

  • ThingWorx Platform 6.6 to 9.4
  • Windchill Navigate (formerly ThingWorx Navigate) 1.5.0 to 9.6
  • CORS (Cross-Origin Resource Sharing)

Description

  • How to make a request from another domain/website to ThingWorx application deployed in a different server?
  • How to Allow Cross-origin requests in ThingWorx?
  • Need to enable CORS on ThingWorx
  • Looking to configure Cross Origin Resource Sharing
  • Receiving 'Mixed Content Error' after enabling CORS filters in ThingWorx Server
  • Browser F12/Dev Tools shows the following:
    • 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 
This is a printer-friendly version of Article 229450 and may be out of date. For the latest version click CS229450