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

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

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?

Tags (1)
4 REPLIES 4

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

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.

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

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.


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

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

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

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.