# F5 irule - Universal persistence

**URL:** <https://community.f5.com/t/f5-irule-universal-persistence/5814>\
**Category:** Technical Forums\
**Tags:** ltm, application-delivery\
**Created:** [March 1, 2016, 1:01pm UTC](https://community.f5.com/t/f5-irule-universal-persistence/5814 "2016-03-01T13:01:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akhilesh\_128432](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@Akhilesh\_128432](https://community.f5.com/u/Akhilesh_128432)\
**Post date:** [March 1, 2016, 1:01pm UTC](https://community.f5.com/t/f5-irule-universal-persistence/5814/1 "2016-03-01T13:01:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Josiah\_39459](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@Josiah\_39459](https://community.f5.com/u/Josiah_39459)\
**Post date:** [March 1, 2016, 2:37pm UTC](https://community.f5.com/t/f5-irule-universal-persistence/5814/2 "2016-03-01T14:37:45Z")

</div>

Sounds like you’re looking for HTTP::payload

> **[DevCentral - An F5 Technical Community](https://community.f5.com/)**
>
> DevCentral is an online technical community where engineers and practitioners collaborate, share knowledge, and solve problems related to F5 technologies and industry trends.

---

<div class="post-metadata">

**Author:** ![samstep](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@samstep](https://community.f5.com/u/samstep)\
**Post date:** [March 1, 2016, 4:39pm UTC](https://community.f5.com/t/f5-irule-universal-persistence/5814/3 "2016-03-01T16:39:42Z")

</div>

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)
