# Get Response headers in a HTTP task

**URL:** <https://forum.flowable.org/t/get-response-headers-in-a-http-task/5817>\
**Category:** Flowable Engine\
**Created:** [April 12, 2020, 11:52am UTC](https://forum.flowable.org/t/get-response-headers-in-a-http-task/5817 "2020-04-12T11:52:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAGICBEANSS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/magicbeanss/32/1926_2.png) [@MAGICBEANSS](https://forum.flowable.org/u/MAGICBEANSS)\
**Post date:** [April 12, 2020, 11:52am UTC](https://forum.flowable.org/t/get-response-headers-in-a-http-task/5817/1 "2020-04-12T11:52:11Z")

</div>

How can I capture response headers , like response HTTP code and few customer headers from a http task,to be available further in the bpm flow ?

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [April 13, 2020, 10:01am UTC](https://forum.flowable.org/t/get-response-headers-in-a-http-task/5817/2 "2020-04-13T10:01:31Z")

</div>

If the http task is configured, to save the response the headers are stored too as a variable, see

> <https://github.com/flowable/flowable-engine/blob/master/modules/flowable-http/src/main/java/org/flowable/http/HttpActivityExecutor.java#L110>
