path

fun path(vararg segments: String)(source)

Appends raw path segments, each encoded when the request is built (a /, ? or % inside one is encoded, never interpreted). A ., .. or empty segment, or one with an unpaired surrogate, makes the call an InvalidRequest.

Parameters

segments

the raw segments, in order.