put

abstract fun put(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint, vararg params: String): PutRestApi(source)

Puts something to the API.

Return

The DeleteRestApi object.

Parameters

body

The body of the request.

endPoint

The endpoint to put to.

params

The parameters to put to the endpoint.


open fun put(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint): PutRestApi(source)

Puts something to the API.

Return

The DeleteRestApi object.

Parameters

body

The body of the request.

endPoint

The endpoint to put to.