huaweicloud-sdk-browserjs-obs
huaweicloud-sdk-browserjs-obs copied to clipboard
我们去对接了某个hcso的私有云的对象存储,但是该私有云客户没有买证书,导致页面上请求报错如下: HEAD https://sf9221828546444581c6217994faeaec.obs.region.xxxx.com/?apiversion net::ERR_CERT_AUTHORITY_INVALID 请问我们如何在调用过程中忽略ssl证书校验呢。
1.从github下载华为云obs最新代码 2.本地安装编译后,生成了dist文件夹 3.复制里面dist/@cloud/esdk-obs-browserjs-without-polyfill-3.21.8.min.js文件,引入到项目中 4.在项目中new ObsClient() 报错 `Uncaught ReferenceError: ObsClient is not defined`
图片处理问题
  /watermark,text_aGVsbG8=,size_60,color_FF0000,g_nw,align_0,x_0,y_0 同样的水印参数 y 方向偏移不正确
uniapp
想问一下这个支持uniapp前端直接上传华为云嘛。
项目内使用了axios 实例,并且没有create 项目内: ```` js import axios from 'axios' axios.defaults.headers.Authorization = 'fdsafsda' ```` npm 包esdk-obs-browserjs 内 ```` js import axios from 'axios' axios.request() ```` 表现: 包内request headers 会携带 Authorization 导致请求失败。...
TS类型支持
希望能提供TS类型支持
报错信息如下,配置环境里面 也配置了 localhost: Access to XMLHttpRequest at 'http://cem-test.cem-test.obs.cn-south-4.myhuaweicloud.com/?apiversion' from origin 'http://localhost:8572' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is...
场景: UEditor 上传视频是通过 iframe 方式 obs 上传是在主窗口定义和调用 `obs.uploadFile({ SourceFile:file })` UEditor 上传视频拿到 `file` 对象后, 调用主窗口上传方法 `window.parent.obs.uploadFile({ SourceFile:file })` 问题: 用 `file instanceof window.File` 判断 file 传参类型会报错,因为 `file` 对象是在 iframe 生成,原型指向的是...
您好,我希望在下载的时候指定一个文件名,我给ResponseContentDisposition属性赋值,没有用 ``` obsClient.getObject({ Bucket: '', Key: '', ResponseContentDisposition: 'attachment; file=1.jpg', ResponseContentType: 'application/octet-stream', SaveByType: "file", } ``` 返回的请求  我需要怎么设置呢