# Post to Post

**URL:** <https://community.f5.com/t/post-to-post/23386>\
**Category:** Technical Forums\
**Tags:** irules, iruleslx, devops\
**Created:** [July 11, 2016, 2:46pm UTC](https://community.f5.com/t/post-to-post/23386 "2016-07-11T14:46:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankitk\_265377](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Ankitk\_265377](https://community.f5.com/u/Ankitk_265377)\
**Post date:** [July 11, 2016, 2:46pm UTC](https://community.f5.com/t/post-to-post/23386/1 "2016-07-11T14:46:18Z")

</div>

How to send POST to POST or GET to GET while redirection of one URL to another URL through irules , generally we get POST TO GET through “https redirect” ?

---

<div class="post-metadata">

**Author:** ![VernonWells](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@VernonWells](https://community.f5.com/u/VernonWells)\
**Post date:** [July 12, 2016, 5:27am UTC](https://community.f5.com/t/post-to-post/23386/2 "2016-07-12T05:27:03Z")

</div>

This is a challenge, and a 307 return code addresses this:

- [RFC 7231 6.4](https://tools.ietf.org/html/rfc7231section-6.4)

but there seems to be some debate about whether all (modern) browsers support it. This is the correct way to do what you need. However, if you’re not comfortable with it, here is a previous DevCentral Question that addresses your question:

- [DevCentral - An F5 Technical Community](https://devcentral.f5.com/questions/how-to-preserve-data-in-a-http-302-redirect-of-a-post)
