mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-04 14:56:26 +00:00
Merge branch 'master' of https://github.com/ValerioOnGithub/php-curl-class into ValerioOnGithub-master
* 'master' of https://github.com/ValerioOnGithub/php-curl-class: Add data processing using the Curl::buildPostData() in the Curl::patch()
This commit is contained in:
+1
-1
@@ -444,7 +444,7 @@ class Curl
|
||||
$this->setURL($url);
|
||||
$this->unsetHeader('Content-Length');
|
||||
$this->setOpt(CURLOPT_CUSTOMREQUEST, 'PATCH');
|
||||
$this->setOpt(CURLOPT_POSTFIELDS, $data);
|
||||
$this->setOpt(CURLOPT_POSTFIELDS, $this->buildPostData($data));
|
||||
return $this->exec();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user