# Files are not sent over \`form-data\` POST request

**URL:** <https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996>\
**Category:** Help Hub\
**Tags:** form-data, post, file, local-files, vscode\
**Created:** [November 25, 2023, 12:19pm UTC](https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996 "2023-11-25T12:19:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mihai-serban](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mihai-serban](https://community.postman.com/u/mihai-serban)\
**Post date:** [November 25, 2023, 12:19pm UTC](https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996/1 "2023-11-25T12:19:48Z")

</div>

I’ve encountered a strange behavior with the Postman Extension for VSCode.

 ![Screenshot_2023-11-25_14-12-31](https://us1.discourse-cdn.com/getpostman/original/3X/c/2/c2f187d5dba86e57aa147d080fc0a9989be144e6.png)

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 ensure they all pass through.

![Screenshot_2023-11-25_14-12-11](https://us1.discourse-cdn.com/getpostman/original/3X/a/5/a569529397539411e45f14c4e53192d5db802ee0.png)

If I add one file only nothing is printed back, if I add more files **only the first one gets through** to my API endpoint, all the others defaulting to `undefined`.

 ![Screenshot_2023-11-25_14-13-10](https://us1.discourse-cdn.com/getpostman/original/3X/e/7/e74121932b798c8a2a75b71ec45af654682abb25.png)

I’ve tried the same request with the [Thunder Client](https://www.thunderclient.com/) Extension in VSCode and **all files pass through as expected**.  
Do you have any idea why this is happening?

#### Additional info about my environment:

I’m using [Hono](https://hono.dev/api/request#parsebody) to export a Cloudflare Worker.  
Node: `v18.10.0`  
Postman VSCode Extension: `v0.14.3` (latest)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 25, 2023, 1:32pm UTC](https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996/2 "2023-11-25T13:32:43Z")

</div>

Hey @mihai-serban 👋

Welcome to the Postman community :postman:

Are you seeing the same behaviour when you perform the same actions using the Postman app?

Might help to see if it’s an issue that’s only in the extension or it’s across the whole platform.

---

<div class="post-metadata">

**Author:** ![mihai-serban](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mihai-serban](https://community.postman.com/u/mihai-serban)\
**Post date:** [November 25, 2023, 3:45pm UTC](https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996/3 "2023-11-25T15:45:55Z")

</div>

It’s working in Postman Desktop App.  
Looks like it’s related to the VSCode Extension only

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 25, 2023, 3:59pm UTC](https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996/4 "2023-11-25T15:59:17Z")

</div>

Thanks for trying that out @mihai-serban 🙏🏻

Could you please raise this as an issue over on our public issue tracker, for the team to take a closer look.

> **[Build software better, together](https://github.com/postmanlabs/postman-app-support/issues/new?assignees=&labels=&projects=&template=Bug_report.yml)**
>
> GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 25, 2023, 3:59pm UTC](https://community.postman.com/t/files-are-not-sent-over-form-data-post-request/54996/5 "2023-12-25T15:59:37Z")

</div>

Closed on December 25, 2023, 3:59pm UTC

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