server, Server::class); return $this->getHttpClient()->post( sprintf('/api/servers/%s/commands', $this->server->uuid), [ 'json' => ['commands' => is_array($command) ? $command : [$command]], ] ); } }