post
fun <P1 : Parameters> post(uriWithParameters: URIWithParameters<P1>): HttpEndpointBuildingContext<P1, Input<Headers0, EmptyBody>, Outputs0>(source)
Creates a POST endpoint for the provided uriWithParameters.
Parameters
uriWithParameters
URI template matched by the endpoint.
fun post(path: String): HttpEndpointBuildingContext<Parameters0, Input<Headers0, EmptyBody>, Outputs0>(source)
Creates a POST endpoint by supplying a literal path.
Parameters
path
slash-separated segments describing the URI template.
fun <P : Any> post(parameter: Parameter<P>): HttpEndpointBuildingContext<Parameters1<P>, Input<Headers0, EmptyBody>, Outputs0>(source)
Creates a POST endpoint that uses a single parameter placeholder (path or query).
Parameters
parameter
parameter whose name and codec derive the template segment.