mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 12:43:14 +00:00
Merge branch 'ValerioOnGithub-master'
* ValerioOnGithub-master: 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