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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to Access external REST API

RC_10864577
10-Marble

How to Access external REST API

I have an external rest endpoint which requires basic authentication username and password. I'm able to get the session username with session info in thingworx 8.5, how do I get the session password or is there any way to get Json data into thingworx.

 

Thanks in advance!!

2 REPLIES 2

Take a look here - "How to manage session in Thingworx": https://www.ptc.com/en/support/article/CS259927 

Hey @RC_10864577 I don't think you will be able to fetch the user password from the session, unless its something you are storing for the user in the session, You might need to save the password and then use it for the basic auth stuffs. To load JSON data from external REST endpoints to ThingWorx you can see contentloaderfunctions.

Announcements


Top Tags