# How to pass Form data in request HTTPBody

**URL:** <https://forum.katalon.com/t/how-to-pass-form-data-in-request-httpbody/11957>\
**Category:** API Testing\
**Tags:** api-testing, katalon-studio\
**Created:** [July 10, 2018, 11:03am UTC](https://forum.katalon.com/t/how-to-pass-form-data-in-request-httpbody/11957 "2018-07-10T11:03:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Binisha\_Babu](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Binisha\_Babu](https://forum.katalon.com/u/Binisha_Babu)\
**Post date:** [July 10, 2018, 11:03am UTC](https://forum.katalon.com/t/how-to-pass-form-data-in-request-httpbody/11957/1 "2018-07-10T11:03:45Z")

</div>

I want to pass form datas in the request body in json format.

for example:

{

name : “abc”

age: “34”

place: “Test”

country: "IN

}

Questions :

1. Is there any option to pass json file data in katalon

2. Is it possible to edit the data from Data Files/InternalData in runtime (I am exploring how these kind of json data can be passed from excel/internal data options). Something like below.

3. If I am using the TestObject(Object Repository) with dynamic values in HttpBody(as shown below) how it can be replaced from test case in runtime.

Checked the solution in [Passing values into API calls - API Testing - Katalon Community](http://forum.katalon.com/discussion/2274/passing-values-into-api-calls)

but getHttpBody() method is deprecated in 5.4.2 version.

Could you please help with solutions?

[Screenshot (46).png](https://s3.amazonaws.com/katalon-forum/editor/to/kts2qa9lrdfg.png)

[Screenshot (49)\_LI.jpg](https://s3.amazonaws.com/katalon-forum/editor/fa/h9y65w1mv8ag.jpg)

---

<div class="post-metadata">

**Author:** ![Trong\_Bui](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/trong_bui/32/374_2.png) [@Trong\_Bui](https://forum.katalon.com/u/Trong_Bui)\
**Post date:** [July 22, 2018, 9:34am UTC](https://forum.katalon.com/t/how-to-pass-form-data-in-request-httpbody/11957/2 "2018-07-22T09:34:16Z")

</div>

Binisha,

Katalon Studio provides several methods that you could apply to create dynamic Web service object at Test case design and at Run time.  
To parameterize Web service object to design test case, you can follow this instruction: [https://docs.katalon.com//display/KD/Parameterize+a+Web+Service+object](https://docs.katalon.com//display/KD/Parameterize+a+Web+Service+object)  
To create dynamic information at run time, you can use Web service builder at: [https://docs.katalon.com//display/KD/Web+Services+Builder](https://docs.katalon.com//display/KD/Web+Services+Builder)

Hope that they will help to resolve your cases.
