# How to send an array as part of body in http\_poller

**URL:** https://discuss.elastic.co/t/how-to-send-an-array-as-part-of-body-in-http-poller/235598
**Category:** Logstash
**Created:** [June 3, 2020, 3:57pm UTC](https://discuss.elastic.co/t/how-to-send-an-array-as-part-of-body-in-http-poller/235598 "2020-06-03T15:57:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pankaj\_Jadhav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pankaj_jadhav/32/65896_2.png) [@Pankaj\_Jadhav](https://discuss.elastic.co/u/Pankaj_Jadhav)
#### Post date: [June 3, 2020, 3:57pm UTC](https://discuss.elastic.co/t/how-to-send-an-array-as-part-of-body-in-http-poller/235598/1 "2020-06-03T15:57:25Z")

</div>

Hi please help me to send an array as a part of http\_poller input request

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [June 3, 2020, 6:06pm UTC](https://discuss.elastic.co/t/how-to-send-an-array-as-part-of-body-in-http-poller/235598/2 "2020-06-03T18:06:45Z")

</div>

If you mean the body of a POST that the http\_poller input performs then that is just text. You would represent an array as text in whatever way the API wants it represented.

If you do not mean that then please clarify your request.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 1, 2020, 6:06pm UTC](https://discuss.elastic.co/t/how-to-send-an-array-as-part-of-body-in-http-poller/235598/3 "2020-07-01T18:06:45Z")

</div>

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