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

Community Tip - You can change your system assigned username to something more personal in your community settings. 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
Velkumar
19-Tanzanite
(To:NF_10758894)
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