Skip to content

Commit 2fde4ba

Browse files
PATCH method
1 parent 5e9a2dd commit 2fde4ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

restclient.php

+4
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ public function put($url, $parameters=[], $headers=[]){
116116
return $this->execute($url, 'PUT', $parameters, $headers);
117117
}
118118

119+
public function patch($url, $parameters=[], $headers=[]){
120+
return $this->execute($url, 'PATCH', $parameters, $headers);
121+
}
122+
119123
public function delete($url, $parameters=[], $headers=[]){
120124
return $this->execute($url, 'DELETE', $parameters, $headers);
121125
}

0 commit comments

Comments
 (0)