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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

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

ssingh-21
1-Visitor

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
Aanjan
12-Amethyst
(To:ssingh-21)

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

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


Top Tags