# Add several json items into a request

**URL:** <https://community.postman.com/t/add-several-json-items-into-a-request/64016>\
**Category:** Help Hub\
**Tags:** variables, scripts, json\
**Created:** [July 12, 2024, 8:56am UTC](https://community.postman.com/t/add-several-json-items-into-a-request/64016 "2024-07-12T08:56:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![supportswissits](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@supportswissits](https://community.postman.com/u/supportswissits)\
**Post date:** [July 12, 2024, 8:56am UTC](https://community.postman.com/t/add-several-json-items-into-a-request/64016/1 "2024-07-12T08:56:55Z")

</div>

Hello Everybody

I’m new in postman and I really need some help  
I want to post request in json format but It doesn’t allow multiple items in one request:

```auto
[
    {
        "categoryId": 6,
        "url": "https://www.example.com",
        "tags": [
            "Test",
            "Test2"
        ],
        "comment": "Reason for LocalSite Request"
    },
    {
        "categoryId": 7,
        "url": "https://www.example2.com",
        "tags": [
            "Test",
            "Test3"
        ],
        "comment": "Reason for LocalSite Request"
    }
]

```

So is there are option how I can post several arrays by one request?

Thank you. Kind regards, Thien

---

<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:** [July 12, 2024, 9:16am UTC](https://community.postman.com/t/add-several-json-items-into-a-request/64016/2 "2024-07-12T09:16:40Z")

</div>

This will be down to the API and what the API will accept.

This would normally be a case of reviewing the API specification to see if it allows multiple items.

---

<div class="post-metadata">

**Author:** ![supportswissits](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@supportswissits](https://community.postman.com/u/supportswissits)\
**Post date:** [July 12, 2024, 9:25am UTC](https://community.postman.com/t/add-several-json-items-into-a-request/64016/3 "2024-07-12T09:25:08Z")

</div>

Thank you for the fast response.  
Yess I already asked the software manufacturer.  
They say that this is allow.  
They told me I have to put every post as an array.  
But unfortunately I don’t know how to create an array with several items in it.

---

<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:** [July 12, 2024, 10:58am UTC](https://community.postman.com/t/add-several-json-items-into-a-request/64016/4 "2024-07-12T10:58:34Z")

</div>

That is an array with multiple objects.

How this has to be formatted will be down to the API specification.

Do you have a link to the API specification that can be shared.

A good API specification will have examples.

Otherwise, speak to the supplier and get them to provide you with an example request.

---

<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:** [August 11, 2024, 10:59am UTC](https://community.postman.com/t/add-several-json-items-into-a-request/64016/5 "2024-08-11T10:59:30Z")

</div>

Closed on August 11, 2024, 10:59am UTC

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