# \#form-data

**URL:** https://community.postman.com/tag/form-data/89.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [Issue sending an API request with multipart/form-data](https://community.postman.com/t/issue-sending-an-api-request-with-multipart-form-data/84222)

<div class="topic-metadata">

**Author:** [@madhavi.girase](https://community.postman.com/u/madhavi.girase)\
**Replies:** 4\
**Last updated:** [September 3, 2025, 3:25am UTC](https://community.postman.com/t/issue-sending-an-api-request-with-multipart-form-data/84222 "2025-09-03T03:25:03Z")

</div>

When sending an API request with multipart/form-data, I am trying to use the “Select File” option to upload a file from my local machine. However, the files are not getting uploaded — they do not appear in the request p…

---

## [Form-data not Updating the data in DB but raw json works](https://community.postman.com/t/form-data-not-updating-the-data-in-db-but-raw-json-works/81622)

<div class="topic-metadata">

**Author:** [@asadali28032](https://community.postman.com/u/asadali28032)\
**Replies:** 2\
**Last updated:** [June 28, 2025, 4:09am UTC](https://community.postman.com/t/form-data-not-updating-the-data-in-db-but-raw-json-works/81622 "2025-06-28T04:09:26Z")

</div>

when i use ‘Post or Patch/Put’ for raw json it works fine, but when use form-data ‘Post’ only works and ‘Put/Patch’ doesn’t work.although it shows success:true .

---

## [\[BUG\] when i expand the column width of params or form data in request, value section is not expanding](https://community.postman.com/t/bug-when-i-expand-the-column-width-of-params-or-form-data-in-request-value-section-is-not-expanding/80777)

<div class="topic-metadata">

**Author:** [@ravishankar083](https://community.postman.com/u/ravishankar083)\
**Replies:** 3\
**Last updated:** [June 5, 2025, 8:45am UTC](https://community.postman.com/t/bug-when-i-expand-the-column-width-of-params-or-form-data-in-request-value-section-is-not-expanding/80777 "2025-06-05T08:45:29Z")

</div>

when i expand the column width of params or form data in request, value section is not expanding

---

## [File selection adds .zip to end of file name](https://community.postman.com/t/file-selection-adds-zip-to-end-of-file-name/79599)

<div class="topic-metadata">

**Author:** [@claern](https://community.postman.com/u/claern)\
**Replies:** 4\
**Last updated:** [May 7, 2025, 7:25pm UTC](https://community.postman.com/t/file-selection-adds-zip-to-end-of-file-name/79599 "2025-05-07T19:25:45Z")

</div>

I’m trying to send a file to Browserstack (an .apk file) and when I select the .apk from file selector, what loads is a .zip file. The .apk is not zipped. It’s file extension should just be .apk. Instead Postman keeps a…

---

## [FormData is not working after update](https://community.postman.com/t/formdata-is-not-working-after-update/41276)

<div class="topic-metadata">

**Author:** [@yerimm](https://community.postman.com/u/yerimm)\
**Replies:** 0\
**Last updated:** [November 19, 2022, 8:24am UTC](https://community.postman.com/t/formdata-is-not-working-after-update/41276 "2022-11-19T08:24:03Z")

</div>

Form-data does not working after update the program. When send with raw data comes to server, but when trying send file with form-data it generate error because data is not sending.

---

## [Syntax Highlighting for Multipart Form-Data](https://community.postman.com/t/syntax-highlighting-for-multipart-form-data/72570)

<div class="topic-metadata">

**Author:** [@kejdajar](https://community.postman.com/u/kejdajar)\
**Replies:** 1\
**Last updated:** [December 16, 2024, 1:02pm UTC](https://community.postman.com/t/syntax-highlighting-for-multipart-form-data/72570 "2024-12-16T13:02:54Z")

</div>

Hello, A few years ago, either I or a colleague made a post about this topic, but I can no longer find it. I wanted to circle back to this topic and see if there have been any updates I frequently work with multipart/f…

---

## [Uploading a file - getting file undefined error](https://community.postman.com/t/uploading-a-file-getting-file-undefined-error/72150)

<div class="topic-metadata">

**Author:** [@bwalsh-mapfreusa](https://community.postman.com/u/bwalsh-mapfreusa)\
**Replies:** 5\
**Last updated:** [December 9, 2024, 1:33pm UTC](https://community.postman.com/t/uploading-a-file-getting-file-undefined-error/72150 "2024-12-09T13:33:10Z")

</div>

Posting to an api: The file is in my working directory. And the process seems to find it because the Content-Length os 44391… however, Request Body says file: undefined Host: localhost:8080 Accept-Encoding: gzi…

---

## [Multi form-data not working](https://community.postman.com/t/multi-form-data-not-working/71612)

<div class="topic-metadata">

**Author:** [@nehaspost](https://community.postman.com/u/nehaspost)\
**Replies:** 1\
**Last updated:** [November 25, 2024, 11:37am UTC](https://community.postman.com/t/multi-form-data-not-working/71612 "2024-11-25T11:37:50Z")

</div>

I am facing problem while uploading pdf or image file through postman. I am using form-data but request body return undefined. I have written http post request in python. Below is the screenshot

---

## [Post request - to upload a lot of files but only one at a time](https://community.postman.com/t/post-request-to-upload-a-lot-of-files-but-only-one-at-a-time/71275)

<div class="topic-metadata">

**Author:** [@spacecraft-explore14](https://community.postman.com/u/spacecraft-explore14)\
**Replies:** 2\
**Last updated:** [November 15, 2024, 2:03pm UTC](https://community.postman.com/t/post-request-to-upload-a-lot-of-files-but-only-one-at-a-time/71275 "2024-11-15T14:03:25Z")

</div>

Hi Community! I have the next challenge: I need to create a collection where I need to upload a lot of files. Important here that it should be one file at a time (not bulk upload). My idea was to use a variable in “form-…

---

## [How to pass date and email values in form-data?](https://community.postman.com/t/how-to-pass-date-and-email-values-in-form-data/70706)

<div class="topic-metadata">

**Author:** [@research-technologi3](https://community.postman.com/u/research-technologi3)\
**Replies:** 1\
**Last updated:** [November 1, 2024, 10:30am UTC](https://community.postman.com/t/how-to-pass-date-and-email-values-in-form-data/70706 "2024-11-01T10:30:27Z")

</div>

I get the error in response when I pass the form data. Form-data and error response is mentioned below. How do I resolve the issue? Form-data: userType: INDIVIDUAL firstName: Om middleName: Sharan lastName: Singh email…

---

## [Sending an array of objects as form-data](https://community.postman.com/t/sending-an-array-of-objects-as-form-data/38327)

<div class="topic-metadata">

**Author:** [@luchnik14](https://community.postman.com/u/luchnik14)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 3:20pm UTC](https://community.postman.com/t/sending-an-array-of-objects-as-form-data/38327 "2024-09-10T15:20:00Z")

</div>

How can I send an array of objects as form-data? I send something similar but with raw json like this: { "quiz":\[{ "question": "what is the correct answer of 2 + 2: ", "type": 0, "answer": \[…

---

## [Postman CLI: The specified file cannot be found](https://community.postman.com/t/postman-cli-the-specified-file-cannot-be-found/61612)

<div class="topic-metadata">

**Author:** [@devang-ey](https://community.postman.com/u/devang-ey)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 7:56pm UTC](https://community.postman.com/t/postman-cli-the-specified-file-cannot-be-found/61612 "2024-05-29T19:56:09Z")

</div>

I attempted to execute a file upload test using Postman CLI but encountered an error stating The specified file cannot be found. I followed the instructions from the Postman Answer documentation and tried to upload a…

---

## [Send nested objects in form data](https://community.postman.com/t/send-nested-objects-in-form-data/60563)

<div class="topic-metadata">

**Author:** [@material-engineer-25](https://community.postman.com/u/material-engineer-25)\
**Replies:** 3\
**Last updated:** [May 3, 2024, 12:25pm UTC](https://community.postman.com/t/send-nested-objects-in-form-data/60563 "2024-05-03T12:25:04Z")

</div>

How do I send nested objects and array of objects using form data in Postman. Let’s say i have the below data: { “title”: { “en”: “Welcome to our restaurant”, “fr”: “Bienvenue dans notre restaurant” }, “subtitle”: …

---

## [File is undefined in form data postman](https://community.postman.com/t/file-is-undefined-in-form-data-postman/60486)

<div class="topic-metadata">

**Author:** [@technical-physicist2](https://community.postman.com/u/technical-physicist2)\
**Replies:** 4\
**Last updated:** [May 2, 2024, 1:44pm UTC](https://community.postman.com/t/file-is-undefined-in-form-data-postman/60486 "2024-05-02T13:44:38Z")

</div>

The bug: file is undefined in form data postman. and sometimes i got this error “Form param file, file load error: PPERM: insecure file access outside working directory” from the postman’s console i’ve done 1. add…

---

## [Form-Data in not working](https://community.postman.com/t/form-data-in-not-working/21783)

<div class="topic-metadata">

**Author:** [@spacecraft-explorer](https://community.postman.com/u/spacecraft-explorer)\
**Replies:** 12\
**Last updated:** [April 10, 2024, 8:01am UTC](https://community.postman.com/t/form-data-in-not-working/21783 "2024-04-10T08:01:50Z")

</div>

I’m facing some problem when using postman. When I’ll try to send raw data in JSON(application/json) format, it get success. but But when I’ll try to send form data it returns some error.

---

## [Reg how to upload form data file in request body](https://community.postman.com/t/reg-how-to-upload-form-data-file-in-request-body/58602)

<div class="topic-metadata">

**Author:** [@harivenkat75026](https://community.postman.com/u/harivenkat75026)\
**Replies:** 3\
**Last updated:** [March 11, 2024, 3:33pm UTC](https://community.postman.com/t/reg-how-to-upload-form-data-file-in-request-body/58602 "2024-03-11T15:33:58Z")

</div>

I am working on a API where it takes the file as the parameter , i am able to upload the file as form data in the postman and get the expected response, but in my SSIS tool we have a exclusive API tool to call API task w…

---

## [Files are not sent over \`form-data\` POST request](https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996)

<div class="topic-metadata">

**Author:** [@mihai-serban](https://community.postman.com/u/mihai-serban)\
**Replies:** 3\
**Last updated:** [November 25, 2023, 3:59pm UTC](https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996 "2023-11-25T15:59:17Z")

</div>

I’ve encountered a strange behavior with the Postman Extension for VSCode. I’m trying to POST some local files over a multipart/form-data request, I’ve added 3 files and then I print their name in the console to ensu…

---

## ['form-data' works for POST request, but not 'raw'](https://community.postman.com/t/form-data-works-for-post-request-but-not-raw/393)

<div class="topic-metadata">

**Author:** [@baneyoftheyear](https://community.postman.com/u/baneyoftheyear)\
**Replies:** 11\
**Last updated:** [November 7, 2023, 11:58pm UTC](https://community.postman.com/t/form-data-works-for-post-request-but-not-raw/393 "2023-11-07T23:58:25Z")

</div>

I am making an api call that takes three parameters in the request: client\_id, authorization\_id, and query\_params, a list of optional configurations. Essentially what the API call does is give you back vehicle informatio…

---

## [POST image via form-data error - JSON\_SYNTAX\_EXCEPTION](https://community.postman.com/t/post-image-via-form-data-error-json-syntax-exception/54240)

<div class="topic-metadata">

**Author:** [@gasogb](https://community.postman.com/u/gasogb)\
**Replies:** 7\
**Last updated:** [November 3, 2023, 5:28pm UTC](https://community.postman.com/t/post-image-via-form-data-error-json-syntax-exception/54240 "2023-11-03T17:28:57Z")

</div>

Hi All, POSTMAN - Version 10.12.0 I am trying to call a REST API via POST and I need to pass an image as a parameter. I tried form-data to pass parameters but getting following error. { “error”: { “code”: “REQUEST\_E…

---

## [Uploading a file or document in Postman](https://community.postman.com/t/uploading-a-file-or-document-in-postman/53078)

<div class="topic-metadata">

**Author:** [@dhans12](https://community.postman.com/u/dhans12)\
**Replies:** 14\
**Last updated:** [October 12, 2023, 1:14pm UTC](https://community.postman.com/t/uploading-a-file-or-document-in-postman/53078 "2023-10-12T13:14:07Z")

</div>

I am not able to upload a document or file in postman. I tried in form-data to upload the file. But its not working. Also i tried to pull the file through raw body. But both im not able to proceed. I need some key value…

---

## [POST a JSON object in a form data request](https://community.postman.com/t/post-a-json-object-in-a-form-data-request/52309)

<div class="topic-metadata">

**Author:** [@stephenbp](https://community.postman.com/u/stephenbp)\
**Replies:** 4\
**Last updated:** [September 25, 2023, 11:35am UTC](https://community.postman.com/t/post-a-json-object-in-a-form-data-request/52309 "2023-09-25T11:35:12Z")

</div>

Hi Can anyone assist on how to post this data in Postman via a form-data Post call { "title": "Example document", "message": "Lorem ipsum solar sit amet.", "file": "encoded", "recipients": \[{ "first\_name": …

---

## [Can't select file at form-data, "Make sure that Postman can read files inside the working directory."](https://community.postman.com/t/cant-select-file-at-form-data-make-sure-that-postman-can-read-files-inside-the-working-directory/16440)

<div class="topic-metadata">

**Author:** [@thedenhome](https://community.postman.com/u/thedenhome)\
**Replies:** 30\
**Last updated:** [August 30, 2023, 2:35pm UTC](https://community.postman.com/t/cant-select-file-at-form-data-make-sure-that-postman-can-read-files-inside-the-working-directory/16440 "2023-08-30T14:35:59Z")

</div>

I am trying to select my image but there is error. What i need to do to get this error away?

---

## [Question about sending pdf files using form-data](https://community.postman.com/t/question-about-sending-pdf-files-using-form-data/48683)

<div class="topic-metadata">

**Author:** [@matthewmorgan3691](https://community.postman.com/u/matthewmorgan3691)\
**Replies:** 0\
**Last updated:** [June 19, 2023, 8:02am UTC](https://community.postman.com/t/question-about-sending-pdf-files-using-form-data/48683 "2023-06-19T08:02:38Z")

</div>

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic. Here’s an outline with best practices for making your…

---

## [How to embed a file as base64 string in a POST multipart/form-data request?](https://community.postman.com/t/how-to-embed-a-file-as-base64-string-in-a-post-multipart-form-data-request/48631)

<div class="topic-metadata">

**Author:** [@adriana.matos](https://community.postman.com/u/adriana.matos)\
**Replies:** 0\
**Last updated:** [June 16, 2023, 2:44pm UTC](https://community.postman.com/t/how-to-embed-a-file-as-base64-string-in-a-post-multipart-form-data-request/48631 "2023-06-16T14:44:03Z")

</div>

Is it possible to send a POST request with the request body as multipart/form-data where we need to upload a file without getting it from an external source? The idea is to embed the file content encoded in base 64 and …

---

## [Create nested array with json object with form-data](https://community.postman.com/t/create-nested-array-with-json-object-with-form-data/15187)

<div class="topic-metadata">

**Author:** [@JCMpoolitzer](https://community.postman.com/u/JCMpoolitzer)\
**Replies:** 3\
**Last updated:** [June 9, 2023, 10:32am UTC](https://community.postman.com/t/create-nested-array-with-json-object-with-form-data/15187 "2023-06-09T10:32:47Z")

</div>

Hello there. For a couple of days now, I try to create a nested array and have an object inside that array where I can set text key/value pairs while simultaneously uploading files (hence form-data). In the end, I want…

---

## [How can I read the content of a form-data request body variable in the test script?](https://community.postman.com/t/how-can-i-read-the-content-of-a-form-data-request-body-variable-in-the-test-script/15711)

<div class="topic-metadata">

**Author:** [@dbfs](https://community.postman.com/u/dbfs)\
**Replies:** 14\
**Last updated:** [March 9, 2023, 12:10pm UTC](https://community.postman.com/t/how-can-i-read-the-content-of-a-form-data-request-body-variable-in-the-test-script/15711 "2023-03-09T12:10:11Z")

</div>

Hello, everybody, in a test for a REST web service I create a document on the server with a body form-data variable that has its value read in from a file. In the collection JSON this look like this: "body": { "mode…

---

## [Iteration of a specific request in a collection to upload multiple form-data](https://community.postman.com/t/iteration-of-a-specific-request-in-a-collection-to-upload-multiple-form-data/42553)

<div class="topic-metadata">

**Author:** [@meatinaplasticsack](https://community.postman.com/u/meatinaplasticsack)\
**Replies:** 2\
**Last updated:** [January 9, 2023, 9:40am UTC](https://community.postman.com/t/iteration-of-a-specific-request-in-a-collection-to-upload-multiple-form-data/42553 "2023-01-09T09:40:31Z")

</div>

Hello, I have this test case: I need to test uploading bigger file that is split into smaller chunks. I have 3 request in the collection: I request upload URL. It has to be run once. I need to upload all file chunks a…

---

## [Passing an array in form-data, JSON Format](https://community.postman.com/t/passing-an-array-in-form-data-json-format/35310)

<div class="topic-metadata">

**Author:** [@jbrewster82](https://community.postman.com/u/jbrewster82)\
**Replies:** 1\
**Last updated:** [November 16, 2022, 6:29am UTC](https://community.postman.com/t/passing-an-array-in-form-data-json-format/35310 "2022-11-16T06:29:06Z")

</div>

I am trying to send a POST request with both a FILE upload and some JSON body data. The file is not an issue using the form-data, however I can’t seem to get past the JSON body part regardless of trying everything I can…

---

## [Iterate though directory files and submit each file as form-data payload](https://community.postman.com/t/iterate-though-directory-files-and-submit-each-file-as-form-data-payload/39421)

<div class="topic-metadata">

**Author:** [@priyanktrivedi](https://community.postman.com/u/priyanktrivedi)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 1:06pm UTC](https://community.postman.com/t/iterate-though-directory-files-and-submit-each-file-as-form-data-payload/39421 "2022-09-27T13:06:44Z")

</div>

Here’s an outline with best practices for making your inquiry. I am trying to send multiple files with same filetype within the same directory as form-data: Details (like screenshots): We have multiple .dat files wi…

---

## [Extract data from body form-data file](https://community.postman.com/t/extract-data-from-body-form-data-file/26513)

<div class="topic-metadata">

**Author:** [@vieroli](https://community.postman.com/u/vieroli)\
**Replies:** 1\
**Last updated:** [April 29, 2022, 6:26am UTC](https://community.postman.com/t/extract-data-from-body-form-data-file/26513 "2022-04-29T06:26:32Z")

</div>

Hello guys, I am send an xml file in the body (form-data), as shown in the screenshot below. And in my query, I need to extract a data from the xml file added in the body But I can’t find a simple way to read and e…

[Next page](https://community.postman.com/tag/form-data/89.md?match_all_tags=true&page=1&tags%5B%5D=form-data)
