Forum Discussion
bdo_isd_28658
Feb 20, 2007Nimbostratus
iRule for replacing string in HTTP POST
I am having trouble even getting started on this iRule and would love some help.
We have an application (TAM) that is sending an incorrect HTTP POST to a back end application (APEX). We nee...
Cole_Libby_1665
Feb 20, 2007Altostratus
Aaron,
Thanks for the reply. My confusion now comes from the issue that after setting the URI, I get different responses from [HTTP::header POST] and [HTTP::uri].
This code:
if { $method equals "POST"} {
log local0. "-----------POST-----------------"
log local0. [HTTP::uri]
log local0.[HTTP::method]
log local0. [HTTP::header POST]
log local0. [HTTP::version]
log local0. "-----------POST-----------------"
}
Produces this log:
Feb 20 21:53:17 tmm tmm[12387]: Rule IAJB : -----------POST-----------------
Feb 20 21:53:17 tmm tmm[12387]: Rule IAJB : /siteminderagent/dmsforms/doLogin.fcc
Feb 20 21:53:17 tmm tmm[12387]: Rule IAJB : POST
Feb 20 21:53:17 tmm tmm[12387]: Rule IAJB : //stgws04.nyenet.state.ny.us/siteminderagent/dmsforms/doLogin.fcc HTTP/1.0
Feb 20 21:53:17 tmm tmm[12387]: Rule IAJB : 1.1
Feb 20 21:53:17 tmm tmm[12387]: Rule IAJB : -----------POST-----------------
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