Query String

noun

say it: “KWEER-ee string” /ˈkwɪəri strɪŋ/

The part of a URL after the ?, made of name=value pairs, used for things like search terms and paging.

What is Query String?

The query string is the part of a URL after ?: key=value pairs joined by &, used for filtering, sorting and paging.

GET /recipes?category=dessert&sort=rating&page=2

In a sentence

  • “The query string ?page=2&size=20 tells the server which page of products to send.”

Level: Apprentice · More REST API terms at this level

Updated