# Post form-data array with multiple objects that contain an image

**URL:** <https://community.postman.com/t/post-form-data-array-with-multiple-objects-that-contain-an-image/16099>\
**Category:** Help Hub\
**Created:** [September 21, 2020, 10:01pm UTC](https://community.postman.com/t/post-form-data-array-with-multiple-objects-that-contain-an-image/16099 "2020-09-21T22:01:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leon.d](https://avatars.discourse-cdn.com/v4/letter/l/67e7ee/32.png) [@Leon.d](https://community.postman.com/u/Leon.d)\
**Post date:** [September 21, 2020, 10:01pm UTC](https://community.postman.com/t/post-form-data-array-with-multiple-objects-that-contain-an-image/16099/1 "2020-09-21T22:01:12Z")

</div>

Hello everyone,

how can I post an array via form-data with multiple objects that contain an image?

This is how the array should look like at the end.

```
[
{
    "tempId": 0,
    "image": "",
    "description": "Step 1",
    "items": [
        {
            "tempId": 1,
            "value": "400",
            "name": "I2"
        }
    ]
},
{
    "tempId": 1,
    "image": "",
    "description": "Step 2",
    "items": [
        {
            "tempId": 0,
            "value": "200",
            "name": "I1"
        }
    ]
}

```

]

The problem is that I don’t know how to do it with the images.

Thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [September 22, 2020, 3:45pm UTC](https://community.postman.com/t/post-form-data-array-with-multiple-objects-that-contain-an-image/16099/2 "2020-09-22T15:45:56Z")

</div>

You can include your image content as an encoded string there.

You can’t reference any files if you are sending JSON.
