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 verbose

Related terms

Taught in

References