From b076f607be8247a060577af4d6854644e8144113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 29 Oct 2021 11:17:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Curl.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Curl.php b/src/Curl.php index 4ba4730..09d416f 100644 --- a/src/Curl.php +++ b/src/Curl.php @@ -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) {