mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-25 04:09:08 +00:00
Use correct mime type
This commit is contained in:
@@ -3,7 +3,7 @@ require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
use \Curl\Curl;
|
||||
|
||||
$myfile = curl_file_create('cats.jpg', 'image/png', 'test_name');
|
||||
$myfile = curl_file_create('cats.jpg', 'image/jpeg', 'test_name');
|
||||
|
||||
$curl = new Curl();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user