Building a URL one bit at a time.

I am trying to take this URL and build it programmatically.

Its part of a complex redirect “Script”/App in Xojo so Im trying to keep apart of the request alive while replacing others.

I need to break down the Request form the user and Im running into a spot of trouble. The docs are a bit thin on examples when it come to pats of the URL.

So Ill brake it into pieces --> Session.Header(“Host”)
nameofApp --> can be pulled from nth from Session.URL
?param1=1?Param2=2 --> This is my question — Where can I get this raw string of X prams?

What is wrong with ?