expand

fun expand(template: String, variables: Map<String, Any>): String

Expands a URI template with the given variable values

Return

The expanded URI

Parameters

template

The URI template to expand

variables

Map of variable names to their values