# Heartbeat 7.9.0 Http Send Request Headers not working

**URL:** <https://discuss.elastic.co/t/heartbeat-7-9-0-http-send-request-headers-not-working/246157>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [August 24, 2020, 5:00pm UTC](https://discuss.elastic.co/t/heartbeat-7-9-0-http-send-request-headers-not-working/246157 "2020-08-24T17:00:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonowusu](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@simonowusu](https://discuss.elastic.co/u/simonowusu)\
**Post date:** [August 24, 2020, 5:00pm UTC](https://discuss.elastic.co/t/heartbeat-7-9-0-http-send-request-headers-not-working/246157/1 "2020-08-24T17:00:42Z")

</div>

Trying to send the user information which is required as part of the Header

Http Monitor

```auto
# Request settings:
  check.request:
    # Configure HTTP method to use. Only 'HEAD', 'GET' and 'POST' methods are allowed.
    method: "GET"

    # Dictionary of additional HTTP headers to send:
    headers:
      'User': 'Domain\username'

    # Optional request body content
    #body:

```

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [August 25, 2020, 10:36am UTC](https://discuss.elastic.co/t/heartbeat-7-9-0-http-send-request-headers-not-working/246157/2 "2020-08-25T10:36:55Z")

</div>

Can you try using double quotes?

---

<div class="post-metadata">

**Author:** ![simonowusu](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@simonowusu](https://discuss.elastic.co/u/simonowusu)\
**Post date:** [August 26, 2020, 8:03am UTC](https://discuss.elastic.co/t/heartbeat-7-9-0-http-send-request-headers-not-working/246157/3 "2020-08-26T08:03:18Z")

</div>

Which part ? The Key or Value or Both ?

"User": "Domain\username" -\> The Slash in the domain is not escaped and causes an issue

---

<div class="post-metadata">

**Author:** ![simonowusu](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@simonowusu](https://discuss.elastic.co/u/simonowusu)\
**Post date:** [September 1, 2020, 3:52pm UTC](https://discuss.elastic.co/t/heartbeat-7-9-0-http-send-request-headers-not-working/246157/4 "2020-09-01T15:52:36Z")

</div>

Neither work

---

<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:** [September 29, 2020, 5:52pm UTC](https://discuss.elastic.co/t/heartbeat-7-9-0-http-send-request-headers-not-working/246157/5 "2020-09-29T17:52:40Z")

</div>

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