Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello, I got the Thingworx Trial Edition and installed it. But when I tried to use REST API, it seemed not work.
My test url is: http://10.66.15.150:80/Thingworx/Things/AngelThing/Properties/TestNumber?method=put&value=23&appKey=dab2dc0b-c371-4b9e-8…
I tried to use the PUT method but the data seemed not update.
Here are the screenshots.
It likes a GET method, why? What should I do?
BTW, when I used this REST API method in the Thingworx 5, it worked.
Solved! Go to Solution.
There is an additional security feature that has turned off the ability to do PUT and POST
We took that away due to security risks, so you can do actual REST POST with something like Postman, but not from the URL line.
It can be turned on (but you will put yourself at risk) by going to the platform subsystem and allowing the Switch Request method.
There is an additional security feature that has turned off the ability to do PUT and POST
We took that away due to security risks, so you can do actual REST POST with something like Postman, but not from the URL line.
It can be turned on (but you will put yourself at risk) by going to the platform subsystem and allowing the Switch Request method.
I'm unable to turn that feature on from the thingworx composer (https://twx.studio-trial.vuforia.io/Thingworx/Composer/index.html) in the platformsubsystem. Also I'm unable to setup a server on tomcat.
Adding to Pai's reply, here's an article from our knowledge base regarding allowing REST calls through the browser.
Hi Aanjan,
Now I'm using the Security Method, but thanks very much.
Angels