Рассмотрим загрузку файла с помощью Cloudinary PHP API:Получение типа мим после загрузки файла с Cloudinary
\Cloudinary\Uploader::upload('http://www.example.com/image.jpg');
Как указано in the doumentation, основной ответ не включает mime-type
загруженного файла:
Array
(
[public_id] => c87hg9xfxrd4itiim3t0
[version] => 1371995958
[signature] => f8645b000be7d717599affc89a068157e4748276
[width] => 864
[height] => 576
[format] => jpg
[resource_type] => image
[created_at] => 2013-06-23T13:59:18Z
[bytes] => 120253
[type] => upload
[url] => http://res.cloudinary.com/demo/image/upload/v1371995958/c87hg9xfxrd4itiim3t0.jpg
[secure_url] => https://res.cloudinary.com/demo/image/upload/v1371995958/c87hg9xfxrd4itiim3t0.jpg
)
Должен ли я настроить что-то в настройках, чтобы добавить его в ответ?
Можете ли вы поделиться еще некоторую информацию относительно того, почему вам нужно мим-типа в дополнение к 'format', который уже возвращен? –