bod
11/03/2019, 3:11 PMURLBuilder
class, as well as a parametersOf
function they seem helpful but can't seem to find a sample to use them. Basically I have a base url, and I have a few query params that I want to append to it. Here's what I'm doing now, but isn't there a way to not repeat parameter
?
httpClient.get(BASE_URL + "memberships") {
parameter("current_page", pageIndex)
parameter("per_page", itemsPerPage)
}