How to change http query conditionally

Hi Guys, I have scenario to redirect url where need to convert [HTTP::query] to upper case except a particular string.

For example

f5test.abc.com/redirect.asp?abcdnoconvertefgh --> f5test.abc.com/redirect.asp?ABCDnoconvertEFGH

Note that ‘noconvert’ is a constant string whereas rest part of [HTTP::query] can vary request to request

Hello Hasif.

Try this →

when HTTP_REQUEST {
    log local0. "BEFORE: [HTTP::query]"
    HTTP::query [string map {"NOCONVERT" "noconvert"} [string toupper [HTTP::query]]]
    log local0. "AFTER: [HTTP::query]"
}

KR, Dario.