mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 20:52:45 +00:00
Add CURLFile example to README
This commit is contained in:
@@ -73,6 +73,13 @@ $curl->patch('http://api.example.com/profile/', array(
|
||||
));
|
||||
```
|
||||
|
||||
```php
|
||||
$curl = new Curl();
|
||||
$curl->patch('http://api.example.com/profile/', array(
|
||||
'image' => new CURLFile('path/to/file.jpg'),
|
||||
));
|
||||
```
|
||||
|
||||
```php
|
||||
$curl = new Curl();
|
||||
$curl->delete('http://api.example.com/user/', array(
|
||||
|
||||
Reference in New Issue
Block a user