append to URI

I’d like to add ?A10 to a specific URI. The intent may appear below but of course I am posting here as it clearly does not do what I want :slight_smile:

When I get a request how do I change the request (uri) before sending to the server side?  It is Sunday and I have been on an 11 hour conf call and my brain will not function - I hope the Internet is still awake and alert.

when HTTP\_REQUEST \{
     if \{([HTTP::uri] starts\_with "/junk")\} \{
   [HTTP::uri] [HTTP::uri] \+ "?A10"
  \} 
\}

I think it should be like the below.

when HTTP\_REQUEST \{
    if \{([HTTP::uri] starts\_with “/junk”)\} \{
       [HTTP::uri] [HTTP::uri]?A10
   \}
\}

Thanks
Michael.