# POST - Headers - multidimensional array

**URL:** <https://community.postman.com/t/post-headers-multidimensional-array/58224>\
**Category:** Help Hub\
**Tags:** variables, array, headers\
**Created:** [February 28, 2024, 8:41am UTC](https://community.postman.com/t/post-headers-multidimensional-array/58224 "2024-02-28T08:41:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunar-module-observe](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/lunar-module-observe/32/27621_2.png) [@lunar-module-observe](https://community.postman.com/u/lunar-module-observe)\
**Post date:** [February 28, 2024, 8:41am UTC](https://community.postman.com/t/post-headers-multidimensional-array/58224/1 "2024-02-28T08:41:01Z")

</div>

![api](https://us1.discourse-cdn.com/getpostman/original/3X/6/3/633f9fb69ed2462cc2a0b4d82fd634b3c678d5e0.png)

I trying to add multidimensional array into headers of a POST call.

Searching for answers showed me I should use square brackets, some suggested with a period some without, but it seems like the square brackets is not allowed as part of the key.

How do you add a multidimensional array as a value key pair in the header tab?

---

<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:** [February 28, 2024, 1:17pm UTC](https://community.postman.com/t/post-headers-multidimensional-array/58224/2 "2024-02-28T13:17:50Z")

</div>

The key wouldn’t be an array, but the value can be.

However, this looks strange.  
Are you sure this needs to go into the headers, and not the body?

Do you have details on the API you can share?  
Ideally the API specification\documentation as that will determine how this needs to be done.

---

<div class="post-metadata">

**Author:** ![lunar-module-observe](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/lunar-module-observe/32/27621_2.png) [@lunar-module-observe](https://community.postman.com/u/lunar-module-observe)\
**Post date:** [February 29, 2024, 10:38am UTC](https://community.postman.com/t/post-headers-multidimensional-array/58224/3 "2024-02-29T10:38:13Z")

</div>

You were right, this details needed to go into the body. Clearly I was trying to send data and I assumed incorrectly send data is part of headers.

---

<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:** [March 3, 2024, 10:38am UTC](https://community.postman.com/t/post-headers-multidimensional-array/58224/4 "2024-03-03T10:38:27Z")

</div>

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