delete

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

Creates a DELETE 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).