The goal of this exercise is to help you:
- Learn to easily identify request variables
- Be able reason as to why those pieces of information are being passed in via the URL
The exercise
- Find two URLs that use request variables (remember to look for
?variable=value
) - In your Field Notes, or notebook, for each of the URLs, answer the following:
- Does the URL use multiple request variables?
- Write out each individual request variable.
- Write down what you think each piece of information being passed in is used for within that web application.
An example
A URL from a Google Search:
https://www.google.com/webhp?q=web%20application&sourceid=chrome-instant&ie=UTF-8
Are there multiple request variables?
Yup!
The request variables:
q
sourceid
ie
What I think they’re being used for:
q
– this is the term I searched forsourceid
– the browser I’m usingie
– the character encoding