Skip to main content
1-Visitor
July 16, 2016
Solved

Thingworx Trial REST API failed

  • July 16, 2016
  • 2 replies
  • 4796 views

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.

Best answer by PaiChung

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.

2 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
July 18, 2016

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.

1-Visitor
June 26, 2018

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.

5-Regular Member
July 18, 2016

Adding to Pai's reply, here's an article from our knowledge base regarding allowing REST calls through the browser.

aalbot1-VisitorAuthor
1-Visitor
July 20, 2016

Hi Aanjan,

    Now I'm using the Security Method, but thanks very much.

Angels