This commit is contained in:
2021-10-29 11:17:37 +08:00
parent 8d5f13999f
commit b076f607be
+2
View File
@@ -61,6 +61,8 @@ class Curl extends ClientAbstracts
return $resource;
}
var_dump($contents);
if (!empty($contents)) {
curl_setopt($resource, CURLOPT_POSTFIELDS, $contents);
} else if ($method === self::POST) {