Forum Discussion
replace http request
hi all,
I have a virtual server with an irule that makes a call (sideband) to an external ws.
the response of the sideband, must be forwarded (as request) to the pool of my VS.
can you help me, to "replace" the http_request before send it to the pool?
thanks
- Sajid
Cirrostratus
https://devcentral.f5.com/s/question/0D51T00006j2rZDSAY/replace-part-of-uri
https://devcentral.f5.com/s/articles/irule-modifying-the-uri-without-a-redirect
https://devcentral.f5.com/s/question/0D51T00006i7j5kSAA/irule-uri-replace-help
https://clouddocs.f5.com/api/irules/HTTP_REQUEST.html
https://devcentral.f5.com/s/question/0D51T00006i7de9SAA/http-rewrite-header-pool-based-on-uri
- LivioM
Nimbostratus
Thanks Sajid,
i saw your links, but i have to replace all payload and header from sideband to Vs pool.
do you know if exist any function?
this is my case:
set recv_data [recv -peek -timeout 3000 -status recv_status [expr {$header_length + $payload_length}] $conn]
with this command, the variable $recv_data will contain full messagge (header and payload),
i want assign to http::request, this variable.
it's possible?
Thanks,
Livio
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