Recall & Review
beginner
What are query parameters in an API request?
Query parameters are key-value pairs added to the end of a URL to send extra information to the server. They start after a '?' and are separated by '&'. For example, in
https://api.example.com/data?user=123, user=123 is a query parameter.Click to reveal answer
beginner
How do you add query parameters in Postman?
In Postman, you can add query parameters by clicking the 'Params' tab below the URL field. Then enter the key and value pairs. Postman automatically appends them to the URL.
Click to reveal answer
beginner
Why are query parameters useful in testing APIs?
Query parameters let you test different inputs without changing the main URL. You can check how the API responds to different values, filters, or options by changing these parameters.Click to reveal answer
beginner
What is the correct format for multiple query parameters?
Multiple query parameters are added by separating each key-value pair with an '&'. For example:
?key1=value1&key2=value2. The order usually does not matter.Click to reveal answer
intermediate
How does Postman handle encoding of query parameters?
Postman automatically encodes special characters in query parameters to ensure the URL is valid. For example, spaces become
%20. This prevents errors when sending requests.Click to reveal answer
In Postman, where do you add query parameters?
✗ Incorrect
Query parameters are added in the Params tab, which appends them to the URL automatically.
What symbol starts the query parameters in a URL?
✗ Incorrect
Query parameters start after a '?' symbol in the URL.
How do you separate multiple query parameters in a URL?
✗ Incorrect
Multiple query parameters are separated by '&' in the URL.
Why is encoding query parameters important?
✗ Incorrect
Encoding converts special characters to a safe format so the URL works correctly.
Which of these is a valid query parameter format?
✗ Incorrect
Query parameters use '?' to start and '&' to separate key-value pairs.
Explain what query parameters are and how you use them in Postman.
Think about how you add filters or options to a web address.
You got /4 concepts.
Describe why encoding query parameters is necessary and how Postman helps with it.
Consider what happens if you put spaces or symbols in a URL.
You got /4 concepts.