Forum Discussion

CPSSupport's avatar
CPSSupport
Icon for Nimbostratus rankNimbostratus
Feb 15, 2021

iRules change HTTP::Payload when talking to the backend servers

I need to make some changes using the iRules to the request payload then need to pass the original request to the backend server, is there a compatible event with HTTP::Payload command that can pass traffic to the backend server?

Thanks in advance.

5 Replies

  • Yes its doable, use HTTP_REQUEST_DATA event to make your manipulation on the payload.

    Refer the below article.

     

    https://clouddocs.f5.com/api/irules/HTTP_REQUEST_DATA.html

    • HazemFouda's avatar
      HazemFouda
      Icon for Nimbostratus rankNimbostratus

      I want to manipulate the payload then pass F5 the manipulated one but the backend server will receive the original payload can you help me, please ?

      • Daniel_Wolf's avatar
        Daniel_Wolf
        Icon for MVP rankMVP

        Can you elaborate what you are trying to achieve by manipulating the payload twice? Maybe there is another way to get to your goal.

         

        I don't say it is nonsense, but I think it would help to know the use-case.