Forum Discussion
KenG
Nimbostratus
Jul 10, 2014Variable Scope with HTTP requests and collected data
I would like to be able to direct a request based on the content of some of the XML content in the request body. So far I have only ever done this in the HTTP_REQUEST event. In fact we have a basic f...
Kevin_Stewart
Employee
Jul 10, 2014Control passes directly to the HTTP_REQUEST_DATA event when you issue an HTTP::collect, and more important, the action variable that you're trying to see doesn't get set until after some processing in the HTTP_REQUEST_DATA event. If you put that log line anywhere in the HTTP_REQUEST_DATA event, after the set action line, you should see the variable with the correct value.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects