Redirect url while preserving POST method

I am trying to access one url from CLI which uses Flexera SOAP.

Command is “appactutil.exe -served -comm soap -commServer http://abcd.com -entitlementID xxxxxxxxxxxxxxxxxxxx”

Here abcd.com is redirecting to external domain but while it redirects, app server is seeing that client is sending GET request while it should be POST method.

I have tried every link/irule so far suggested on devcentral but it didnt work. Any new suggestions/irules or configs please.

Vendor suggested to use proxy pass not sure if F5 can do that.

Hi Neeraj2901,

You can use 307 redirect in iRule for POST method.

HTTP::respond 307 Location "https://www.abcd.com/uri"

Thanks for the reply but it didnt work.