Signature: httpPut(clientID: int, path: string, body: string, headers: string) -> int

Description: Makes an HTTP PUT request with a request body.

Parameters

Returns: int

Example

let status = httpPut(clientId, "/put", "{\"updated\":\"data\"}", "Content-Type: application/json")
print("PUT status: ${status}")