Forum Discussion
JT_144596
Nimbostratus
Jun 15, 2016edit a request variable after being set?
Hi,
I'm setting a variable copy of a GET request, is it possible to change the values within the variable after I have set?
for instance, the URI?
example:
set req [HTTP::request]
set req uri...
Vijay_E
Cirrus
Jun 15, 2016HTTP::uri [HTTP::uri]/new/uri
Something like the above in the iRule will append "/new/uri" to the existing URI. Is that what you are seeking ? Basically, with the [ ] brackets, you are reading the variable and without the [ ] brackets, you are writing to it.
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