# Customize the response in my format

**URL:** <https://community.postman.com/t/customize-the-response-in-my-format/822>\
**Category:** Help Hub\
**Created:** [January 30, 2018, 3:10am UTC](https://community.postman.com/t/customize-the-response-in-my-format/822 "2018-01-30T03:10:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fangss](https://avatars.discourse-cdn.com/v4/letter/f/d26b3c/32.png) [@fangss](https://community.postman.com/u/fangss)\
**Post date:** [January 30, 2018, 3:10am UTC](https://community.postman.com/t/customize-the-response-in-my-format/822/1 "2018-01-30T03:10:29Z")

</div>

Hello,

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

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/c/4c8b499b24b0ebe42c7951b3867be2f11cf1b698.png)

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

```js
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!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 9, 2024, 2:35pm UTC](https://community.postman.com/t/customize-the-response-in-my-format/822/2 "2024-12-09T14:35:44Z")

</div>

Closed on December 9, 2024, 2:35pm UTC

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