Customize the response in my format

Hello,

I know there are some formats to view thre responded result as the following snapshot.

But, I want I can add a customized format to show the json result for REST API, such as using listview to display.

var jsonData = JSON.parse(responseBody);
console.log(jsonData.result.length);
// console.table(jsonData.result);
pm.setFormat('mytable', function(jsonData) {
  return '';
});
pm.addTableFormat('result');

Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.