Skip to main content
1-Visitor
July 31, 2019
Solved

CORS error while connecting Thingworx REST API to HTTP request- JavaScript XHR Vue.JS

  • July 31, 2019
  • 10 replies
  • 5279 views

I have already configure my Tomcat serve for CORS still i am not able to access my api and i am getting " Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."  

When i am trying to access the API using Postman i am getting 403 error.

For reference please check attached images. 

 

Best answer by shubhamm

hii Sharon,

 we have followed  https://www.ptc.com/en/support/article/CS229450  article that resolved our issue. 

Thanks and Regards,

Shubham 

10 replies

Support
July 31, 2019

Hi @shubhamm.

 

Have you made any changes to filter for CORS based on any documentation PTC provides?  If so, please provide specifics on the changes that were made.

 

What versions of Tomcat/ThingWorx are you running?

 

Here is an article that may help depending on the ThingWorx version you're running.

 

Regards.

 

--Sharon

shubhamm1-VisitorAuthor
1-Visitor
August 1, 2019

Tomcat 8.5.32

Thinworx 8.3