Forum Discussion
Phong_Tang_7213
Altostratus
Mar 17, 2017How use BIG-IP to capture HTTP request and response
Hi gurus,
I want to use BIG-IP Virtual Server (with HTTP profile) and capture full HTTP request and response. Can I do that? We can not debug on the Client and the real Server.
Thanks
Phong...
kunjan
Nimbostratus
Mar 27, 2017How about this:
when HTTP_REQUEST {
if {[HTTP::method] eq "POST"}{
if {[HTTP::header "Content-Length"] ne "" {
HTTP::collect [HTTP::header Content-Length]
} else {
HTTP::collect 20000
}
}
}
when HTTP_REQUEST_DATA {
log local0. "payload is [HTTP::payload]"
}
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