put

fun Klopik.Companion.put(url: String, options: RequestOptions.() -> Unit = {}): Request

Creates a PUT request to the specified URL.

Return

A Request object representing the HTTP request.

Parameters

url

The URL to send the request to.

options

A lambda function with the request options. This object is used to specify the body, headers and other request parameters (optional).