how to convert the selected row value to Json and passed to postman?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
- postjson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How could I pass the same content to any other url?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
