Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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
Solved! Go to Solution.
You need to allow REST-requests from different domain. See https://www.ptc.com/en/support/article/CS229450
Hi @NF_10758894
Please refer to this link -
Use REST API to Access ThingWorx Part 1 - PTC Community
Use REST API to Access ThingWorx Part 2 - PTC Community
Use REST API to Access ThingWorx Part 3 - PTC Community
Use REST API to Access ThingWorx Part 4 - PTC Community
Also please post error message you have received in your react app
/VR
You need to allow REST-requests from different domain. See https://www.ptc.com/en/support/article/CS229450