# How to add Request Body in API Explorer using Typescript language?

**URL:** https://forum.heroiclabs.com/t/how-to-add-request-body-in-api-explorer-using-typescript-language/1874
**Category:** Runtime Framework
**Tags:** server-framework
**Created:** [August 12, 2021, 7:14pm UTC](https://forum.heroiclabs.com/t/how-to-add-request-body-in-api-explorer-using-typescript-language/1874 "2021-08-12T19:14:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![b-thanapat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/b-thanapat/32/758_2.png) [@b-thanapat](https://forum.heroiclabs.com/u/b-thanapat)
#### Post date: [August 12, 2021, 7:14pm UTC](https://forum.heroiclabs.com/t/how-to-add-request-body-in-api-explorer-using-typescript-language/1874/1 "2021-08-12T19:14:47Z")

</div>

**Like This !!**

 ![image](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/1X/2826f1f5829d2fb9419a86b9cf340c04b51e2e33.png)

**But in Custom RPC Function is empty.**

 ![image](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/1X/01b3be7704e9184e4d50269e18c6fee5bf223124.png)

Please Help me.

---

<div class="post-metadata">

### Author: ![mofirouz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/mofirouz/32/1523_2.png) [@mofirouz](https://forum.heroiclabs.com/u/mofirouz)
#### Post date: [August 12, 2021, 7:24pm UTC](https://forum.heroiclabs.com/t/how-to-add-request-body-in-api-explorer-using-typescript-language/1874/2 "2021-08-12T19:24:56Z")

</div>

The body is empty because the body depends on what your custom RPC requires. We can’t prepopulate the text area.

---

<div class="post-metadata">

### Author: ![b-thanapat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/b-thanapat/32/758_2.png) [@b-thanapat](https://forum.heroiclabs.com/u/b-thanapat)
#### Post date: [August 12, 2021, 7:42pm UTC](https://forum.heroiclabs.com/t/how-to-add-request-body-in-api-explorer-using-typescript-language/1874/3 "2021-08-12T19:42:39Z")

</div>

I want to know. How to add Request Body in API Explorer using Typescript language ?
