API Testing · Junior · Question 22 of 75

What is the difference between a path parameter and a query parameter?

Show the answer

Correct answer: Path identifies a resource, query filters or modifies the result

Explanation

In /users/42/orders?status=paid&page=2, 42 is a path parameter and status, page are query parameters.

Further reading

Problem with a question

API Testing · Junior · question 22

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz