Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
I am learning at how to use REST API to create a thing in virtual machine.I get a error when I send the message to Thingworx8.0.Please find the picture,the error is:ApplicationKey Is Not Allowed As A URL Parameter.The version of Thinworx is 8.0(MSSQL) in virtual machine.
However, when I send the message to my local machine,it is OK.The version of Thinworx is7.4(no database) in local machine.How should do to solve this problem.
Hi Hao, the use of ApplicationKey is disabled by default in newly installed ThingWorx 8.0 due to the security risk. If you are still willing to use this you'll need to enable this from the PlatformSubsystem Configuration page in the ThingWorx Composer.
Please see this article for more detail ThingWorx Appkey URL Parameter is Deprecated as of ThingWorx 8.0.0
Thank you.
Is there any new detailed tutorial for REST API of ThingWorx8.0 if I don't enable the Allow Application Key as URL Parameter fuction?
Hi Hao, you can still use the AppKey, just pass them to the HTTP header instead of using it in the URL as highlighted in the article i shared in my last earlier response.