# soapUI: multipart form-data. i don't know how to post form-data

**URL:** <https://community.smartbear.com/t/soapui-multipart-form-data-i-dont-know-how-to-post-form-data/677>\
**Category:** SoapUI OS\
**Tags:** api, soapui, migrated\
**Created:** [July 18, 2016, 10:12am UTC](https://community.smartbear.com/t/soapui-multipart-form-data-i-dont-know-how-to-post-form-data/677 "2016-07-18T10:12:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [July 18, 2016, 10:12am UTC](https://community.smartbear.com/t/soapui-multipart-form-data-i-dont-know-how-to-post-form-data/677/1 "2016-07-18T10:12:43Z")

</div>

> Originally posted by **johnnykuo** on July 18, 2016

i used ‘postman’ to test my api, the media type of body is form-data.

the HTTP code：

```auto
POST /xxxxxxxx/xxx HTTP/1.1
Host: xxx.xxxxxx.com
X-ML-AppId: xxxxxxxxxx
X-ML-Request-Sign: xxxxxxxxxxxxx
Cache-Control: no-cache
Postman-Token: xxxxxxxxxxxxxxxxxxxx
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="userId"

123123123123
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="content"

textContent
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="latitude"

10
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="longitude"

50
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename=""
Content-Type: 

----WebKitFormBoundary7MA4YWxkTrZu0gW

```

so, i want to run this test case in the testSuite of soapUI, but when i chose the media type to multipart/form-data, i have no idea how to input the key and value of form-data.

like this:

 ![postman.jpg](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/61570c5e7fb79b7da2ad93b73eb1ff635f0d2a29.png) ![soapui.jpg](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/6695bc2e898e673b800afb54d6c132a898d1af20.png)

i just want post form-data like postman.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [June 27, 2017, 2:56pm UTC](https://community.smartbear.com/t/soapui-multipart-form-data-i-dont-know-how-to-post-form-data/677/2 "2017-06-27T14:56:43Z")

</div>

> Originally posted by **sesleri** on June 27, 2017

Soapui breaks multipart form requests right now because it tries to insert its automatic boundary everywhere. I got my requests to work despite this bad functionality by ignoring their boundary in my request. Set your own boundary under headers and manually put your request in the payload. See my screenshot.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [February 27, 2018, 5:55pm UTC](https://community.smartbear.com/t/soapui-multipart-form-data-i-dont-know-how-to-post-form-data/677/3 "2018-02-27T17:55:33Z")

</div>

> Originally posted by **mazam** on February 27, 2018

I have tried this. Issue is that I have an audio file attachment. When I paste it’s contents in the window the contents get corrupt since they get converted to ascii..

I want a way to be able to modify the boundary that SOAP UI put’s in so it’s acceptable to the server or find another way to send the request without attaching the file.
