Certain web pages pass along information about actions through its URL. These are called parameterized URLs.
In this lesson you'll learn how to:
Identify a parameterized URL.
Setup a job creating a minimal number of actions.
Let's look at some examples of parameterized URLs. Here are three URLs that search for the keyword Visualping.
Notice "?q=". Anything after a question mark is known as the query string. In this case, q is the variable that holds the value Visualping.
This tells the website to look and extract the content from q, which directs you to the correct search result. Try it for yourself. Each link will visit the query result directly.
Below is an advanced example. Can you find all of the variables in the URL? Some examples include rooms, adults, destination, startDate, endDate, d1, and d2. This tells the website to look at the given variables and redirects you to the correct hotel search result.
Now that we know what a parameterized URL looks like, it's time to create a job that uses one. First, visit aircanada.com and search for a flight.
Once you click Search Flights, you will notice that the URL changes. If you copy it in time, you can use it directly in Visualping.
Paste the URL in your job and create a wait action to allow the webpage to load.
Finally, click Create Job.