Forum Discussion

OM's avatar
OM
Icon for Nimbostratus rankNimbostratus
Apr 25, 2019

irule POST payload for APM after the assignment is done

Hi, I have an apm configuration which ends with resource assignment. right after the assignment, the backend server replies with a popup banner message. In order to bypass that message, I would like to create an irule that sends a POST with specific payload so that the users will never see that annoying message. There is no way for me to remove that message from the backend server, the only option I have is to do it on F5 APM irule or so. please assist.

 

thanks.

 

  • Can you check http header differences in first http request and the one after post???

     

    Is there any HTTP cookie added in next requests to inform server you already accept the first banner?

     

  • Hi,

    Can yo set this irule in your VS in order to capture response (Popup) then request (Post).

    The output will allow you to set the right irule for your need:

    https://devcentral.f5.com/codeshare/ultimate-irule-debug-capture-and-investigate-1183

    Set the irule header like that:

    array set app_arrway_referer {
        client_dest_ip_port 1
        client_cert  1
        http_request 1
        http_request_release 0
        http_request_payload 1
        http_lb_selected 1
        http_response 1
        http_response_release 0
        http_response_payload 1
        http_time_process 0
    }
    

    regards