Customize the response in my format

Hello,

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

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