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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! 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
nmutter
14-Alexandrite
(To:NF_10758894)

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

nmutter
14-Alexandrite
(To:NF_10758894)

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

Announcements

Top Tags