(Quick Reference)

query

Purpose

Sets additional query parts of the URL.

Examples

UriBuilder.build {
    base = "http://example.com"
    query = [
        "foo": "bar"
    ]
}

Description

The query map consists of key/value pairs to set as the query part of the URL. Additional query parameters will add to the existing query parameters if the base url is used.