request

abstract suspend fun request(endpoint: String, method: String = "POST", path: String = "/osc/commands/execute", body: String = "{", contentType: String = "application/json"): PreviewClient

request method with contentType of body to endpoint