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

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

Highlighted
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
Highlighted

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

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.

Highlighted

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

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

Highlighted

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

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
Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!