get

fun get(path: String, vararg query: Pair<String, String>): RequestMatch(source)

A GET of path whose query holds every pair of query.

Return

the match.

Parameters

path

the percent-encoded path, as Url.encodedPath prints it, for example /api/players/1.

query

the decoded name to value pairs the query must hold; none by default.