# Send File and Json Data both at same time

**URL:** <https://community.postman.com/t/send-file-and-json-data-both-at-same-time/41729>\
**Category:** Help Hub\
**Created:** [December 3, 2022, 3:14pm UTC](https://community.postman.com/t/send-file-and-json-data-both-at-same-time/41729 "2022-12-03T15:14:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hnejadi](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/hnejadi/32/14078_2.png) [@hnejadi](https://community.postman.com/u/hnejadi)\
**Post date:** [December 3, 2022, 3:14pm UTC](https://community.postman.com/t/send-file-and-json-data-both-at-same-time/41729/1 "2022-12-03T15:14:30Z")

</div>

Hi there,  
I tried to send a file with a dictionary as shown in the following picture. Unfortunately, I can’t.

 ![Screenshot 2022-12-03 183816](https://us1.discourse-cdn.com/getpostman/original/3X/6/8/68d7b363882adf716d98d4bb62d2fe0c4a2c3119.png)  
Would you please help me?

BR,

---

<div class="post-metadata">

**Author:** ![iiBalena](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/iibalena/32/26934_2.png) [@iiBalena](https://community.postman.com/u/iiBalena)\
**Post date:** [December 20, 2023, 3:02pm UTC](https://community.postman.com/t/send-file-and-json-data-both-at-same-time/41729/2 "2023-12-20T15:02:13Z")

</div>

I’m facing the same problem.

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [December 20, 2023, 3:29pm UTC](https://community.postman.com/t/send-file-and-json-data-both-at-same-time/41729/3 "2023-12-20T15:29:32Z")

</div>

What errors are you receiving?

What have you tried so far?

Do you have details on the API specification which would usually tell you if this is even possible for the API.

A good specification will include request examples.

---

<div class="post-metadata">

**Author:** ![iiBalena](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/iibalena/32/26934_2.png) [@iiBalena](https://community.postman.com/u/iiBalena)\
**Post date:** [December 20, 2023, 4:31pm UTC](https://community.postman.com/t/send-file-and-json-data-both-at-same-time/41729/4 "2023-12-20T16:31:52Z")

</div>

> [@michaelderekjones](#):
>
> Do you have details on the API specification which would usually tell you if this is even possible for the API.

It is not an error.  
When I post a data with a raw json, a can send an array directly on the body.  
When I’m trying to post the same body, but with files, I simply can’t, it need to have a “name” for the property.

![image](https://us1.discourse-cdn.com/getpostman/original/3X/c/b/cbabb5c5ed29d5aca37478c9783a9b3ed792d2cf.png)

Is probably some configuration, because the front app can post it like it must be

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [December 20, 2023, 4:49pm UTC](https://community.postman.com/t/send-file-and-json-data-both-at-same-time/41729/5 "2023-12-20T16:49:30Z")

</div>

If you haven’t got the details of the API specification with example requests that you can copy, then you can use the Postman interceptor feature to capture the request that is made from the front end. This should then guide you on how to craft the request in Postman.

[Announcing the Postman Interceptor Extension for all Browsers | Postman Blog](https://blog.postman.com/announcing-the-postman-interceptor-extension-for-all-browsers/)
