We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6491658 commit 26785e9Copy full SHA for 26785e9
src/class.php
@@ -33,6 +33,7 @@ public function doCurl(string $url, string $type = 'GET', bool $return_http_code
33
}
34
} elseif ($type == 'PATCH') {
35
curl_setopt($crl, CURLOPT_CUSTOMREQUEST, 'PATCH');
36
+ curl_setopt($crl, CURLOPT_POSTFIELDS, json_encode($post_fields));
37
38
if (!empty($headers)) {
39
curl_setopt($crl, CURLOPT_HTTPHEADER, $headers);
0 commit comments