cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to create REST API and use in react application

NF_10758894
6-Contributor

How to create REST API and use in react application

I have created a one thing, inside that thing one service is created and I want to use this service in my react application. 

        I used the following format of API 
'http://localhost/Thingworx/Things/ThingWorxTrainingMaintenanceBlog/Services/GetBlogEntriesWithComments' but still facing issue.
         Please suggest me the correct way of doing this.

         I'm using Thingworx 9.3

ACCEPTED SOLUTION

Accepted Solutions

You need to allow REST-requests from different domain. See https://www.ptc.com/en/support/article/CS229450 

View solution in original post

3 REPLIES 3
NF_10758894
6-Contributor
(To:Velkumar)

err.png

You need to allow REST-requests from different domain. See https://www.ptc.com/en/support/article/CS229450 

Announcements


Top Tags