diff --git a/src/MeshClient.php b/src/MeshClient.php index 50700e4..5d85e20 100644 --- a/src/MeshClient.php +++ b/src/MeshClient.php @@ -1098,6 +1098,11 @@ public function webroot(string $projectName, string $path, array $parameters = [ return $this->buildRequest("GET", "/" . $this->encodeSegment($projectName) . "/webroot/" . $path, null, $parameters, $stream); } + public function webrootCreate(string $projectName, string $path, $request, array $parameters = [], $stream = false): MeshRequest + { + return $this->buildRequest("POST", "/" . $this->encodeSegment($projectName) . "/webroot/" . $path, $request , $parameters, $stream); + } + public function webrootField(string $projectName, string $fieldName, string $path, array $parameters = [], $stream = false): MeshRequest { return $this->buildRequest("GET", "/" . $this->encodeSegment($projectName) . "/webrootfield/" . $fieldName . "/" . $path, null, $parameters, $stream);