Forum Discussion
Hello Omar.
It's not the most efficient way to do it, but technically it's possible.
HTTP_REQUEST_DATA occurs before the loadbalancing decision (LB_SELECTED).
REF - https://clouddocs.f5.com/training/community/irules/html/class1/module1/iRuleEventsFlowHTTPS.html
You should use the HTTP::payload method to collect the payload in the HTTP_REQUEST event and then apply your logic inside the HTTP_REQUEST_DATA event.
REF - https://clouddocs.f5.com/api/irules/HTTP__payload.html
Regards,
Dario.
- omar_padillaAltocumulus
thank you man!