mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-04 02:57:15 +00:00
Clean up
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ $curl->put('https://httpbin.org/put', array(
|
||||
));
|
||||
|
||||
if ($curl->error) {
|
||||
echo 'Error: ' . $curl->errorCode . ': ' . $curl->errorMessage;
|
||||
echo 'Error: ' . $curl->errorCode . ': ' . $curl->errorMessage . "\n";
|
||||
} else {
|
||||
echo 'Data server received via PUT:' . "\n";
|
||||
var_dump($curl->response->form);
|
||||
|
||||
Reference in New Issue
Block a user