Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added patch() method.
  • Loading branch information
phplicengine authored Oct 21, 2019
1 parent 0c38e76 commit 156c089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $api = new Api();
// no proxy is used. For example, $api->setCurlProxy('proxy.example.com:3128');
// $api->setCurlProxy($proxy);

// get(), post(), delete(), put() methods are available.
// get(), post(), delete(), put(), patch() methods are available.
// first parameter is url, second is query as array, third is header as array.
// Only first parameter (i.e. $url) is required.
$response = $api->get($url, null, null);
Expand Down

0 comments on commit 156c089

Please sign in to comment.