# How do I capture the request headers?

**URL:** <https://community.dynatrace.com/t/how-do-i-capture-the-request-headers/13722>\
**Category:** Open Q&A\
**Tags:** request-attributes\
**Created:** [July 13, 2018, 6:42pm UTC](https://community.dynatrace.com/t/how-do-i-capture-the-request-headers/13722 "2018-07-13T18:42:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jibi\_uthaman1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jibi_uthaman1/32/2628_2.png) [@jibi\_uthaman1](https://community.dynatrace.com/u/jibi_uthaman1)\
**Post date:** [July 13, 2018, 6:42pm UTC](https://community.dynatrace.com/t/how-do-i-capture-the-request-headers/13722/1 "2018-07-13T18:42:09Z")

</div>

Basically want to see the request headers to figure out why the API got a 400 response

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [July 13, 2018, 7:03pm UTC](https://community.dynatrace.com/t/how-do-i-capture-the-request-headers/13722/2 "2018-07-13T19:03:42Z")

</div>

Hey Jibi,

You will need to create a **Request Attribute** for the request headers you want to capture in **Settings** → **Server-side service monitoring →**  **Request Attribute**. You will have to specify the request attributes you want to capture in the configuration. Please see link [here](https://www.dynatrace.com/news/blog/request-attributes-simplify-request-searches-filtering/) for more on Request attributes.

Thanks

NJ
