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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to send data from thingworx database to a different server of webpage ?

ssingh-21
1-Newbie

How to send data from thingworx database to a different server of webpage ?

How to send data from thingworx database to a different server of webpage ?

3 REPLIES 3

Sarita, can you be more specific on what external database you are connecting to? We have a JDBC extension, and you should be able to connect to any external database as long as you have the required jar(s) and connection information/ strings.

I have stored my data in Thingworx database. I have created one thing as a database and stored data in it, now  i want to send that data to a webpage which is not connected to thingworx, i mean to say i want to display my stored data in thingworx to a page outside of thingworx for which we don't need thingworx account

amalecot
6-Contributor
(To:ssingh-21)

Hi,

Your external application can send a GET request, which will return all properties from YourThing (as a JSON for exemple).

Then, parse the response to use it as you want on your page.

You don't need a thingworx user account if you put the thingworx appkey in your request header.

If you want, you can try it with RESTclient (Add-on for Firefox), to check.

  • Method : GET
  • URL= http(s)://YourDomain.com/Thingworx/Things/YourThingName/Properties/
  • Headers :
    • Accept = application/json
    • Content-Type = application/json
    • appKey = yourThingWorx appKey Here
    • x-thingworx-session = true
Top Tags