# Capture custom response code related to an application

**URL:** <https://community.dynatrace.com/t/capture-custom-response-code-related-to-an-application/38403>\
**Category:** Open Q&A\
**Tags:** request-attributes\
**Created:** [February 12, 2023, 9:38am UTC](https://community.dynatrace.com/t/capture-custom-response-code-related-to-an-application/38403 "2023-02-12T09:38:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [February 16, 2023, 1:26am UTC](https://community.dynatrace.com/t/capture-custom-response-code-related-to-an-application/38403/4 "2023-02-16T01:26:56Z")

</div>

You can capture them for example from a Method argument/return value or HTTP Header using&nbsp;[Request attributes.](https://www.dynatrace.com/support/help/platform-modules/applications-and-microservices/services/request-attributes)

---

_[View the full topic](https://community.dynatrace.com/t/capture-custom-response-code-related-to-an-application/38403)._
