Forum Discussion
F5 irule - Universal persistence
Is there any F5 irule command to parse some data from HTTP response?. For example, I am using below command to read "context ID" from http request, similarly is there any command we can use for parsing http response?
when HTTP_REQUEST { set cid [findstr [HTTP::uri] "contextId" 10 "&"]
Thanks, Akhilesh
- Josiah_39459Historic F5 Account
Sounds like you're looking for HTTP::payload
https://devcentral.f5.com/wiki/iRules.HTTP__payload.ashx
- samstepCirrocumulus
yes, you can use the same findstr command in HTTP_RESPONSE event (provided the data in you need to parse is in response headers and not in the content)
Recent Discussions
Related Content
* 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