# Body format for POST method use Glide Call API form-data format

**URL:** https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277
**Category:** Ask for Help
**Created:** [October 25, 2023, 10:28am UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277 "2023-10-25T10:28:53Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Javieri\_Pratama](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/javieri_pratama/32/65080_2.png) [@Javieri\_Pratama](https://community.glideapps.com/u/Javieri_Pratama)
#### Post date: [October 25, 2023, 10:28am UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/1 "2023-10-25T10:28:53Z")

</div>

Hello, Gliders  
I have data that I will send using the Glide call API action with the POST method. However, the recipient API only accepts body data in form-data format, just like in the Postman application. What is the data format used in the body column in the Glide Call API to send data with a form-data format like the Postman application?

 ![Screenshot 2023-10-25 at 17.13.51](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/4/c4ad850549a398d5e8c25b5a4dfecf296244ece7.png)  
 ![Screenshot 2023-10-25 at 17.27.05](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/6/a6da15c64eee642b0d5c96a5b5692b2284cf0547.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [October 26, 2023, 7:39am UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/2 "2023-10-26T07:39:41Z")

</div>

Do you only need to send key value pairs over or do you need to send a file?

---

<div class="post-metadata">

### Author: ![Javieri\_Pratama](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/javieri_pratama/32/65080_2.png) [@Javieri\_Pratama](https://community.glideapps.com/u/Javieri_Pratama)
#### Post date: [October 26, 2023, 11:52am UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/3 "2023-10-26T11:52:25Z")

</div>

Thank you for responding, I only sent data, not files.

But while waiting for an answer in the glide community, I tried asking Chat GPT 😁

and I got a response like this

POST [https://example.com/api/endpoint](https://example.com/api/endpoint) HTTP/1.1  
Host: [example.com](http://example.com)  
Content-Type: application/x-www-form-urlencoded

kode=389&barcode=2401001&noinduk=2401001&nama=Shaqira%20Ayudia%20fauza&tmp\_lhr=Pekanbaru&tgl\_lhr=2018-10-21T00:00:00.000Z&alamat=SHAQIRA%20AYUDIA%20FAUZA&wali=Said&nohpwali=082283432001

How to make body like that on Glide?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [October 26, 2023, 12:09pm UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/4 "2023-10-26T12:09:23Z")

</div>

> [@Javieri\_Pratama](#):
>
> kode=389&barcode=2401001&noinduk=2401001&nama=Shaqira%20Ayudia%20fauza&tmp\_lhr=Pekanbaru&tgl\_lhr=2018-10-21T00:00:00.000Z&alamat=SHAQIRA%20AYUDIA%20FAUZA&wali=Said&nohpwali=082283432001

Try sending each of the above as separate Query String parameters. Something like this:

 ![CleanShot 2023-10-26 at 20.07.51 2@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/c/2cfc0a0e2e7779cffd206f0cc97a9665669acf29.png)

---

<div class="post-metadata">

### Author: ![Javieri\_Pratama](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/javieri_pratama/32/65080_2.png) [@Javieri\_Pratama](https://community.glideapps.com/u/Javieri_Pratama)
#### Post date: [November 4, 2023, 1:15am UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/5 "2023-11-04T01:15:53Z")

</div>

Sorry, Its not working

but I get Information from Documentation like this

 ![Screenshot 2023-11-04 at 08.14.01](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/6/16fb328906b5a8377abe1d5daff72ae0e0e05a3c.png)

Is there a way to create a body like the template described in the documentation?

---

<div class="post-metadata">

### Author: ![Javieri\_Pratama](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/javieri_pratama/32/65080_2.png) [@Javieri\_Pratama](https://community.glideapps.com/u/Javieri_Pratama)
#### Post date: [November 17, 2023, 4:21am UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/6 "2023-11-17T04:21:32Z")

</div>

Finally I found a way, namely using “Get Part of URL Column”.

**First** I had to create a dummy url in the “Cunstruct URL Column” then use the Query parameters to determine the attributes and their values.

**Second** , use “Get Part of URL Column” and set the part at the bottom filled with the text “search”. This will take the appropriate parameters to be used as the body for the API request.

**Third**  
Use the “template” column to remove question marks.

Very grateful. 😌

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [November 17, 2023, 11:23pm UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/7 "2023-11-17T23:23:04Z")

</div>

> [@Javieri\_Pratama](#):
>
> dummy url

What do you mean by “dummy URL” here?

---

<div class="post-metadata">

### Author: ![Javieri\_Pratama](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/javieri_pratama/32/65080_2.png) [@Javieri\_Pratama](https://community.glideapps.com/u/Javieri_Pratama)
#### Post date: [November 17, 2023, 11:36pm UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/8 "2023-11-17T23:36:21Z")

</div>

![Screenshot 2023-11-18 at 06.33.09](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/3/e343253ff4c8510a61fb8b1284f098574d9d7af7.png)  
My point about “dummy” is that it only fills in the blanks in the host and path fields, and only uses the parameter query fields.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [November 24, 2023, 11:36pm UTC](https://community.glideapps.com/t/body-format-for-post-method-use-glide-call-api-form-data-format/67277/9 "2023-11-24T23:36:33Z")

</div>

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