diff --git a/examples/upload_file.php b/examples/upload_file.php index a3a9016..3eafeba 100644 --- a/examples/upload_file.php +++ b/examples/upload_file.php @@ -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();