03-Mar-2020 05:12
I have a client complaining that request coming from our application is in GET instead of POST , where as we are sending POST from application, not sure how it converted to GET, is this happening on Big IP (F5) LB and if yes is there way to fix this issue, probably by irule or another way ? I will be grateful if someone provide me a dynamic or multiple URLs irule
03-Mar-2020 09:13
Changing method is bit long process via iRule. I would recommend to check whether client is sending GET or POST method. Attach simple irule to vip.
when HTTP_REQUEST {
# Check the method
log local0. "HTTP Method is [HTTP::method]"
}
Try to tune the request from application side.
03-Mar-2020 13:33
I have run into this before when you are redirecting traffic to port 443 using a 302, which is the response code used in HTTP::redirect in the F5. In order to preserve the method you need to issue a 307 for the redirect ( HTTP::responnd 307 Location https://your_url_here.com. vs HTTP::redirect https://your_url_here.com)