Using Query Parameters
2021-9-12 Less than 1 minute
# Using Query Parameters
# What is the purpose of a Query String?
It allows you to pass information to and from a website by appending that information to the end of a URL.
# What is the format of a query parameter? How does it start? How do you distinguish between one parameter and the next?
key=value
. Starts with a ?
, separated by &
. an example would be
?a=1&b=2
1
# When do you think Query parameters would be helpful when writing your server?
When looking for and separating specific objects and sub-objects of a specific item.