Question about how to properly handle a GET request in my web app

Hi Everyone,

I think I understand this but I want to run it by everyone to make sure this is correct and that it’s the most correct way to do it.

I’m building a web app that will be passed a GET request that looks like this:

https://myserver.com/special?name=Anthony&language=English

Now, as I understand it, I can get those parameters into local variables like this:

language = WebRequest.GetParameter(“Language”)
name = WebRequest.GetParameter(“Name”)

Is this correct? Also, is there a more ‘elegant’ way to do this?

Yes Anthony, it’s correct.
In the WebSession there are methods to parse and get parameters.
Take a look at the URLParameter group of methods.