Skip to content
Snippets Groups Projects
Commit 2b9bd0f7 authored by Jaroslav Petrusevic's avatar Jaroslav Petrusevic
Browse files

make a PUT request support

parent 51e0e9f2
No related branches found
Tags v2.0.8
No related merge requests found
Pipeline #3685 failed with stage
in 0 seconds
......@@ -205,6 +205,17 @@ class HttpClient
return $this;
}
public function put($uri = '', array $json = [])
{
// make a PUT request
$this->response = $this->getClient()
->put($uri, [
'json' => $json,
]);
return $this;
}
public function postFormMultipart($uri = '', array $params = [])
{
$array_multipart = [];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment