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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

how to convert the selected row value to Json and passed to postman?

bmarimuthu-2
1-Newbie

how to convert the selected row value to Json and passed to postman?

Hi!!

I have a grid with some columns.when I select a particular row, that entire row has to be converted into Json format and wanted to be verified in Postman.

Any idea for doing this?

4 REPLIES 4
ankigupta
5-Regular Member
(To:bmarimuthu-2)

Hi Bavithraa Marimuthu​,

You can create a custom service which will on selected row changed event.

In the service you can convert the data to json and post it to some server which acceps REST calls.

I am not sure if Postman accepts rest calls.

Ankit,

I have a json data in my service 'test'. When i try this in below link, it works fine.

http://localhost:8080/Thingworx/Things/json_thing/Services/test?method=POST&appKey=0104246a-c5af-45f4-9e0c-a5dfd28cd1d0&ContentType=application/json


But I want the same content to be displayed when I navigate to any other url.


How could I pass the same content to any other url?

ankigupta
5-Regular Member
(To:bmarimuthu-2)

Hi Bavithraa Marimuthu​,

As per my understanding; If the other url has the option of making the Rest call then you can get the data as parameter.

Or you can use iframe to show the result of ThingWorx Rest call embedded in the other url.

Announcements


Top Tags