Forum Discussion
mrgilchen
Altostratus
Nov 27, 2019How to parse xml tag in POST body
Hi, My POST request to F5 looks like this: <ScheduleRecordings> <ShowingID>REC_4344</ShowingID> <Channel>4344</Channel> </ScheduleRecordings> How do I parse the Channel header value. ...
- Nov 28, 2019
regexp {<Channel>(.*)</Channel>} [HTTP::payload] match CHANNEL
Like this you can use $CHANNEL immédiately.
log local0. "$CHANNEL"
Should show you the value.
Do not hesitate to mark this Answered :)
Yoann_Le_Corvi1
Cumulonimbus
Nov 28, 2019regexp {<Channel>(.*)</Channel>} [HTTP::payload] match CHANNEL
Like this you can use $CHANNEL immédiately.
log local0. "$CHANNEL"
Should show you the value.
Do not hesitate to mark this Answered :)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
