Skip to main content
1-Visitor
September 9, 2016
Solved

Cross-domain issue in Accessing REST API

  • September 9, 2016
  • 1 reply
  • 2399 views

Hi,

How to solve the cross domain issue in thingworx  while accessing REST API  i am getting the below error

"No 'Access-Control-Allow-Origin' header is present on the requested resource".

As per thingworx support docs,In Platform subsystem i enabled the properties "Allow Request method switch" and disabled "Filter content type".

Still i am facing the issue. Please help me to solve this.

Best answer by katte

If it is related to Cross domain resource sharing issue, please refer this post Make a REST call from a website to Thingworx platform​. Let me know if that works.

Thanks,

Giri

1 reply

katte5-Regular MemberAnswer
5-Regular Member
September 9, 2016

If it is related to Cross domain resource sharing issue, please refer this post Make a REST call from a website to Thingworx platform​. Let me know if that works.

Thanks,

Giri