# Request Transformer Plug in

**URL:** <https://discuss.konghq.com/t/request-transformer-plug-in/6762>\
**Category:** Questions\
**Created:** [July 22, 2020, 11:45am UTC](https://discuss.konghq.com/t/request-transformer-plug-in/6762 "2020-07-22T11:45:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghuprassad](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@raghuprassad](https://discuss.konghq.com/u/raghuprassad)\
**Post date:** [July 22, 2020, 11:45am UTC](https://discuss.konghq.com/t/request-transformer-plug-in/6762/1 "2020-07-22T11:45:20Z")

</div>

Is there any way to intercept the incoming request header filed and value, and add it to request transformer plug dynamically. so that my API can get the required data from header.

for example something like ,

curl -X POST [http://52.14.12.168:8001/routes/authentication-service-route/plugins](http://52.14.12.168:8001/routes/authentication-service-route/plugins)   
-d ‘name=request-transformer’   
-d ‘config.add.headers=x-forwared-url: **$header.url** ’   
-d ‘enabled=true’

---

<div class="post-metadata">

**Author:** ![taotao](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/taotao/32/2131_2.png) [@taotao](https://discuss.konghq.com/u/taotao)\
**Post date:** [July 22, 2020, 1:23pm UTC](https://discuss.konghq.com/t/request-transformer-plug-in/6762/2 "2020-07-22T13:23:35Z")

</div>

header to header ??? header already exists, so why add it

query to header  
cookie to header.
