在 cloudinary 上上传图像文件

Upload beside images file on cloudinary

我可以在 Cloudinary 上上传图片文件以外的文件吗?如果可以的话,是否使用相同的 API 上传?或者我必须使用不同的 API 来上传它?谢谢

Cloudinary 为您的 Images & videos.
提供端到端解决方案(即上传、存储、维护、操作和基于 CDN 的交付) 它还允许您上传、管理和交付任何其他文件类型,如下所述:http://cloudinary.com/blog/using_cloudinary_to_manage_all_your_website_s_assets_in_the_cloud

可以从以下文档中获取有关将资产上传到 Cloudinary 的更多一般信息:http://cloudinary.com/documentation/image_upload_api_reference#upload

Cloudinary::Uploader.upload("sample_spreadsheet.xls",
  :public_id => "sample_spreadsheet",
  :resource_type => :raw)