# How to modify a Rest request in an ES plugin?

**URL:** <https://discuss.elastic.co/t/how-to-modify-a-rest-request-in-an-es-plugin/91764>\
**Category:** Elasticsearch\
**Created:** [July 4, 2017, 11:58am UTC](https://discuss.elastic.co/t/how-to-modify-a-rest-request-in-an-es-plugin/91764 "2017-07-04T11:58:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ropal](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@ropal](https://discuss.elastic.co/u/ropal)\
**Post date:** [July 4, 2017, 11:58am UTC](https://discuss.elastic.co/t/how-to-modify-a-rest-request-in-an-es-plugin/91764/1 "2017-07-04T11:58:13Z")

</div>

Hi All,  
I have a use case where the incoming request content and header needs to be modified in a plugin.  
Is there a way to achieve it?

---

<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:** [August 1, 2017, 11:58am UTC](https://discuss.elastic.co/t/how-to-modify-a-rest-request-in-an-es-plugin/91764/2 "2017-08-01T11:58:56Z")

</div>

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