query parameter
A name and value added after the question mark in a URL, such as ?verbose=true, that refines a request.
In more detail
Query parameters usually filter, sort or paginate a collection rather than identify a single resource. They arrive as text, so the server must convert and validate them.
Example
Spring: @RequestParam(defaultValue = "false") boolean verboseRelated terms
- path variable — A placeholder segment in a route, such as {id} in /orders/{id}, whose value is taken from the request URL.
- pagination — Splitting a large collection into bounded pages, each with a way to ask for the next one.
- request binding — A framework converting parts of an HTTP request, such as path variables, query parameters, headers and the body, into typed method arguments.
Taught in
- Reading The Request — Modern Java: Virtual Threads & High-Throughput Services